Two boys, 9 and 11, are facing charges of unlawful possession of a weapon after bringing a handgun to Oceanside Charter School in Atlantic City on Thursday.
They were released to the custody of their parents Thursday evening. Police are still investigating whether any adults will face charges as well.
Atlantic City Police say one single shot was fired inside the school bathroom earlier in the day.
"We're still trying to determine where they got possession of it. Lucky none of the children
were hurt including the children who had possession of it," said Monica McMenamin, Atlantic City Police.
The bullet hit and damaged a bathroom sink, police said.
The students being questioned are both from Pleasantville and usually ride the bus together, according to Principal and Superintendent Janine Middleton, who also says school safety protocol was followed to ensure student safety.
380 students attend the pre-K through 8th grade charter school.
Breaking news and the stories that matter to your neighborhood.
Fan, follow and download: Get the latest from NBC10.com anytime, anywhere. Follow us on Twitter, Facebook, our mobile site and NBC Philadelphia. Sign up for our breaking news newsletter. And, get breaking news delivered right to your mobile phone -- just text PHIBREAKING to 639710 to sign up. (Message and data rates may apply.)