A man was arrested Wednesday outside of an elementary school in Wisconsin after firing several shots, according to local police.

Germantown police reportedly took a man into custody after an hour of negotiations, Fox 6 reported. The man was suffering from a mental health issue, according to police.

ADVERTISEMENT

Nearby Germantown schools, including Kennedy Middle School and MacArthur Elementary School, were ordered to shelter in place, though it doesn't appear students were in danger at any time.

"Germantown PD had informed the District that an active shooter was in the vicinity of Kennedy Middle School and MacArthur Elementary School; we responded by going into lockdown status. Chief Hoell has informed the District that a suspect has been apprehended and in custody," the school district said, according to Fox 6.

"Students and staff are safe to attend school, as the shooter is in police custody. Thank you for your patience and understanding in these matters," the district's statement continued.

It's unclear what weapon was confiscated from the man, who was detained about an hour after the incident began around 5 a.m. A two-hour delay for classes that initially was announced has been canceled.

Reports of shots fired near the schools come a week after a shooting at a charter school in a Denver suburb left one student dead and others injured. Two students were taken into custody after being confronted by police.