TROY, Ohio (WDTN) — Troy High School dismissed students for the day due to a false alarm regarding an active shooter on campus.

Students were dismissed from school at 9:31 a.m. according to a tweet from the school district. Another tweet stated that the threat of an active shooter was a false alarm.

Speaking to 2 NEWS, Troy Schools Superintendent Chris Piper said that a substitute teacher at Troy High School accidentally set off the alarm by accident around 7:30 a.m. with an emergency computer keyboard combination that each teacher has access to.

Staff and students heard the alarm and reacted accordingly, either hiding or running from the building. School Resource Officer Zach Hook responded to the situation, alerting the school and Troy Police that it was a false alarm.

School activity resumed, but the same substitute teacher set off the false alarm again around 9 a.m. After once again determining it to be a false alarm, the district dismissed students for the rest of the day.

2 NEWS spoke to Levi Dixon, a student at Troy High School, about the situation. He explained that people were running and trying to find a way out, even having panic attacks.

“We didn’t really know what we’re doing. We just wanted to get out safe.” Dixon said.

Troy High School Principal Alexis Dedrick shared a letter with families following the event.

“I absolutely hate that it happened and that we had to go through something like that, but I can’t help but also be so extremely proud of our students and staff who immediately took action today,” Dedrick said in the letter. “Our Trojan Family cares deeply about each and every one of you and your children and we can’t thank you enough for your courage, patience, and understanding today.”

Superintendent Piper stated more conversations need to be held to fully understand how both instances occurred.

“Fortunately, everyone is safe, everyone did the right things,” said Piper. “There are certainly problems to solve here, but there’s also a lot of pride for how staff and students reacted today.

“We’re very fortunate to have school resource officers that respond so quickly, staff that is so well-trained and do the right things, kids that take care of each other and families that support us.”

Classes are set to resume on Monday. The school will be speaking with students and staff about the event as well as providing counselors.