A 7-year-old Louisiana boy was accidentally shot inside his elementary school classroom Monday, authorities said.

The Moss Bluff Elementary School student is in stable condition and undergoing surgery, according to Calcasieu Parish Sheriff Tony Mancuso. It’s unclear where he was shot.

The sheriff said another student brought the weapon to school. After the gun fell out of the child’s backpack, another student picked it up and accidentally fired the gun, striking the 7-year-old, Mancuso said.

Authorities said the morning incident, which is under investigation, was isolated to one classroom.

Mancuso said neither the student who brought the gun to school, nor the student who accidentally fired the gun will be charged for the incident due to their age. Once the investigation is complete, Mancuso said the district attorney will decide whether to bring charges against the parents of the child who brought the gun to school.

“I’m a pro-gun advocate and I believe in the 2nd amendment that allows us to possess and carry firearms, however, I also believe that it is our responsibility as gun owners to keep our guns locked and out of the reach of children,” Mancuso said in a statement. “In addition, talking to our children about the dangers of guns can help them know how to react if they encounter a gun at school or even at a friend’s house.”

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Contact us at letters@time.com.