Hernandez and another 17-year-old boy began were wrestling when Hernandez was put in a chokehold, restraining his neck, police said. The boy told Hernandez to tap out but Hernandez passed out, police said.

>> Read more trending stories

When the other students noticed Hernandez was not breathing and his lips were turning blue, they woke up the parents and the father began CPR on Hernandez, police said.

About 1:27 a.m., police and medics responded to the home in the Blanco Vista subdivision to reports of CPR in progress, a city spokeswoman said.

Hernandez was taken to Seton Medical Center Hays, where he was pronounced dead at 2:40 a.m., officials said.

Hays County Justice of the Peace Beth Smith has ordered an autopsy for Hernandez, as is standard in such incidents, officials said.

“He loved all things Central Texas, the festivals, the bats, the rivers, the lakes, the music and the life he lived here with a family that genuinely cherished him,” his obituary said.

Grief counselors are available at Hays High School for the six teenagers, other students and school staff, according to David Pierce, principal at Hays High School.

“This is a tragic occurrence – to have a young man pass away at the threshold of becoming an adult. We are reminding our students to reflect on the joy, friendship, and love he shared with us while he was alive,” Pierce said in a statement. “His memory and the impact he had on so many lives will live on through all of his friends, teachers, and his family.”