A boy charged with aggravated assault and related crimes surrendered to police Saturday in connection with a shooting that wounded two students inside a Philadelphia high school gymnasium, authorities said.

Police were not releasing the 17-year-old suspect’s name because it wasn’t immediately clear if he was to be tried as an adult.

Police also didn’t immediately identify another male suspect, whose age was not released. Although that boy surrendered Friday evening, police had yet to charge him, according to statements police released.

The shooting happened Friday about 3:30 p.m. at the Delaware Valley Charter High School in north Philadelphia. It remained unclear Saturday whether the shooting was accidental or intentional.

“A quick response by Philadelphia police allowed officers to immediately secure the school and determine this was not an active shooter incident,” police said.

The wounded boy and girl each were shot in an arm, and by Saturday police confirmed that both had been hit by the same bullet.

The female student was treated for her injuries and released from Albert Einstein Medical Center, while the male victim was admitted in stable condition, police said. The hospital could not provide additional information Saturday because police had not released the male victim’s name.

Police Commissioner Charles Ramsey said police didn’t know what staffing or security procedures were in place at the school but said “there was a breakdown in security of some kind” because the gun got into the building.

The school was placed on lockdown and secured by SWAT officers checking each room. Students were searched and released one by one.