A suburban Denver high school student who was shot in the head by a classmate has died, hospital officials said in a statement Saturday.

Claire Davis, 17, was in critical condition after being shot at point-blank range at Arapahoe High School on Dec. 13. Friends and well-wishers had posted prayers online and raised money to help pay for her medical care.

Karl Pierson, 18, shot Davis, who just happened to be sitting nearby with a friend as Pierson, armed with a shotgun, ammunition strapped to his body, Molotov cocktails and a machete, entered the school and headed toward the library. Davis appeared to be a random target, Arapahoe County Sheriff Grayson Robinson has said.

Pierson likely intended to track down a librarian who had disciplined him, but Robinson said Pierson’s arsenal suggested Pierson intended to hurt many others at the school just 8 miles from Columbine High School.

Pierson set off one of the incendiary devices and fired five shots before killing himself just one minute and 20 seconds after entering the building. He knew a sheriff’s deputy assigned to the school was closing in, Robinson said at a news conference.

Senior Chris Davis, who is not related to Claire Davis, said she loved horses, had a lot of friends and always seemed happy. Chris Davis, whose locker is next to Claire's, helped organize a fundraising effort for her family.

Students held vigils for Davis after the shooting. (Associated Press)

More From WBSM-AM/AM 1420