NORFOLK, Va. (AP) — Law enforcement authorities in Virginia say two juveniles have been charged after a handgun accidentally discharged in a high school classroom.

Police in Norfolk on Saturday said the 17- and 16-year-old students are facing various charges, including possession of a firearm on school property and possession of a firearm by a minor. Both students attend Maury High School and are being held at the Norfolk Detention Center.

Authorities say the older of the two students had the firearm at school Friday and sustained a gunshot wound to the hand when it accidentally discharged. They say detectives later found out the younger student handled the gun after the accidental shooting.

No other injuries were reported. Norfolk Public Schools spokeswoman Barbara Hunter told news outlets Friday that the incident occurred in a science class. She said the injured student was treated by a nurse before he was taken to a local hospital.

The high school was temporarily placed on lockdown.