A routine gym class turned into horror for students at Ramona High School in California Wednesday when a student was killed by a rogue softball.

Taylor Dorman, 16, was playing a game of “Over the Line,” an improvised version of softball that is popular in the San Diego area, when he was hit in the chest with the ball, Fox 5 reported Thursday.

“After being hit, Taylor complained of his chest hurting, then he collapsed,” said Ramona High School principal Tony Newman.

The sophomore was reportedly hit around 11:40 a.m. and was transported to a hospital, where he passed away. The cause of the teen’s sudden death has not been released.

Friends and family of the teen, who was celebrating his birthday Wednesday, gathered to mourn on school grounds that night. Students wrote messages to the family, cried and released "happy birthday" balloons while singing.

“We had our lives planned together,” said friend of Dorman, Christopher Hartness, who said the teen regularly enjoyed playing sports. “We were going to play football for another two years and then join the military. Now that’s all gone.”

“He made you happy with everything that he did,” said another friend, Kaylene Stehlik. “He tried so hard just to make everyone else happy and in return, that always made him happy.”

The high school is now offering grief counseling to students affected by the death of the teen.

Social media is already buzzing over the accidental passing, one commenter saying the school should be held responsible for the teen's death.

Other students mourned the loss.

Dorman isn’t the only teen to recently pass from a sports related death.

Danny Svay, 15, drowned during school hours at Lowell Technical High School in Massachusetts in the district’s pool Tuesday morning. The freshman honor student was transported to a hospital and soon pronounced dead, Metro reported.

Deputy Police Chief Richard Howe said the death is being classified as accidental. Authorities are unsure if swimmers were being monitored at the time of Danny’s death.

According to CBS Boston, classmates said the boy told a school nurse prior to his death that he did not want to swim Tuesday, saying he felt too sick to attend class.

“We’re deeply saddened for the family of the student and we will be working closely together to get all the information through the investigation,” said the school’s superintendent-director, Mary Jo Santor.