An employee of the Montclair, New Jersey, school district was taken into custody and charged with making terroristic threats on Monday in connection with an incident that led the district to abruptly close all its schools, authorities said. Montclair officials said there was no continuing threat to the community and that the schools were closed as a precaution.

Police said Amir Doctry, a 45-year-old staff member on administrative leave from the district, was "placed into custody without incident" around 8 a.m. Monday at a home in Philadelphia after he threatened a Montclair schools employee via social media. They said that additional charges against him were pending in relation to the allegations.

Police and schools officials said they first learned of a "potential threat" to the district on Sunday evening. The district announced early Monday morning that all public schools would be closed due to a "security concern," and later said the threat was "neutralized," but did not offer details at the time.

The Montclair Police Department said a preliminary investigation found that the threat was made against an employee of the Northeast Elementary School on Grove Street. The department said it continued to investigate the issue overnight along with the Montclair Board of Education, the Essex County Prosecutor's Office and the FBI.

Police have increased patrols around the district's schools "out of an abundance of caution," officials said in a statement.

Attorney information for Doctry was not immediately available.

Damen Cooper, interim superintendent of Montclair Public Schools, said in a statement dated 9:40 a.m. Monday that the situation was resolved in collaboration with local police.

"I understand that this situation may have caused anxiety and disruption for our entire school community," Cooper said. "Please know that every step taken was guided by our unwavering commitment to the safety and well-being of our students, staff, and families."

The district did not say when schools would reopen, but Montclair Mayor Renee Baskerville said they remained closed while authorities continued to investigate. She said the schools were shut down as a "precautionary measure, and there is no immediate threat."

"I also wanted to make clear that this security concern is isolated to Montclair schools and does not affect surrounding communities or institutions," she added in a statement.

This is a developing story and has been updated. Louis C. Hochman contributed reporting.