FRANKFORT, Ind. — Frankfort High School was temporarily placed on lockdown after a student was found to be armed with an unloaded handgun on Thursday morning.

According to the Frankfort Police Department, the gun was discovered after a fight broke out in a bathroom in Frankfort High School at around 8 a.m. An ammunition magazine reportedly fell out of the student’s waistband during the fight.

A school resource officer was immediately alerted about the possible gun leading to the 17-year-old student being taken into custody. A search uncovered a small caliber handgun on the student. No ammunition was found in the school or on the school bus the student rode, however, police said.

The handgun was not loaded.

The high school was placed on a temporary lockdown during the investigation, Community Schools of Frankfort said, with police also feeling it necessary to place the middle school on lockdown as well as a precaution.

School operations returned to normal at 9:40 a.m.

Police said the 17-year-old student was arrested for unlawful possession of a firearm on school property and was taken to a juvenile detention facility.

Formal charges will be decided by the prosecutor.

“I am thankful that the student witnesses reported the incident to school officials and our SRO,” stated Frankfort Police Chief Scott Shoemaker. “In a partnership with the Community Schools of Frankfort, we have had an officer in our high school for twenty-three years now.”

“Today was an example of how we respond in coordination with the police department to keep everyone safe,” added Frankfort Schools Superintendent Dr. Matt Rhoda.