HERSHEY - A Line Mountain High School senior died early Wednesday, succumbing to injuries she sustained in a one-vehicle accident in Mandata Tuesday afternoon.

Dauphin County Coroner Graham Hetrick said Kayla Miller, 18, of Trevorton, died at 3:35 a.m. at Hershey Medical Center, where she was flown after the 12:29 p.m. crash on Route 225.

Hetrick said the manner of death was accidental, caused by a closed-head injury from a motor-vehicle collision.

State police at Stonington said Miller was traveling north in a 2002 Ford Focus when she lost control of the vehicle. The Focus partially left the road and re-entered the northbound lane before crossing the southbound lane and leaving the road a second time. The vehicle went airborne and struck two trees. Miller was extricated and transported by helicopter to the Dauphin County facility.

Line Mountain superintendent Dave Campbell said Miller was a senior at Line Mountain and had just transferred from Shikellamy High School. Campbell said counselors were at the school Wednesday to help students and staff and will be on hand as long as necessary.

He said the school will accommodate those wanting to attend her funeral.

"If there is anything that can be done to help the family in their time of need, the district will make the appropriate resources available to them," Campbell said.

Passers-by reportedly administered CPR to Miller at the scene before emergency responders arrived.

Messages of love and appreciation for Miller flooded her Facebook profile Tuesday and Wednesday as news of her accident and death spread among friends and family.

Haley Anne Koppenhaver said the young woman was "one of those people that could put a smile on anyone's face."

April Baker said she "was taken too soon before her life had a chance to begin."

"You touched many hearts, and will be remembered by all who love you," she wrote.

Before she died, her friends were saying they were praying for her and hoping she'd pull through.

"She will be severely missed, but God needed another angel up in heaven. I love you!" wrote Heather Flowers.

(Staff Writer Justin Strawser contributed to this report.)