GREAT MILLS, Md. (AP) -- A 16-year-old girl shot earlier this week at her Maryland high school has died after being taken off life support.

The St. Mary's County Sheriff's Office said Friday that Jaelynn Willey died at 11:34 p.m. Thursday.

Earlier Thursday night, Willey's family said Jaelynn would be taken off life support at University of Maryland Prince George's Hospital Center.

Jaelynn was shot in the head Tuesday morning at Great Mills High School by 17-year-old Austin Rollins. Police say the two had been in a relationship that recently ended.

A 14-year-old student, Desmond Barnes, was also injured.

Rollins was killed in the attack. It remains unclear whether he committed suicide or was shot by a school resource officer who responded to the attack.

The sheriff's office said Jaelynn was surrounded by her family when she died.

Copyright 2018 by The Associated Press. All rights reserved.