Miley allegedly told police the firearm was indeed under his bed, and said he had found it and was going to walk into a police precinct and hand it over, prosecutors said. Police allegedly found two rounds of ammunition under a bed at Miley’s home, prosecutors said.

The city Department of Education released a statement in response to the incident.

“This is incredibly disturbing and nothing is more important than the safety of all students and staff. School staff immediately notified NYPD and they swiftly responded. Families were notified yesterday and additional staff is available to the school community to provide ongoing support,” DOE spokeswoman Toya Holness said in the statement. “We will continue to work closely with the police department as they investigate this alarming incident, and ensure that all students and staff feel safe.”

On Wednesday, parents told CBS2’s Carrasco that they weren’t informed of the incident.

Miley was to be arraigned late Thursday night in Queens Criminal Court on charges of criminal possession of a weapon, first-degree reckless endangerment, endangering the welfare of a child, and city administrative violations, prosecutors said. He faces up to 15 years in prison if convicted.