Officials say that a school shooting threat was “neutralized” at a middle school west of Madison, Wisconsin, Wednesday morning, with no reported injuries to those inside the school.

Shortly after 11 a.m., school officials posted on social media that an active shooter had appeared on the school’s campus. The county’s emergency management reported the suspect had a rifle.

Wisconsin Attorney General Josh Kaul said at a news conference Wednesday evening that “deadly force was used” and the suspect is dead. Kaul said a number of officers are on leave following the incident, as is standard when an officer-involved shooting takes place, but did not provide an exact number.

The Mount Horeb Area School District said the alleged shooter “did not breach entryway” at the middle school and there were “no reports of individuals being harmed, with the exception of the alleged assailant.”

“He was outside and didn’t enter the school,” Kaul said. He would not say if the suspect ever fired any shots or tried to get inside the school.