STAFFORD, Conn. — Police say a middle school janitor in Stafford threatened a school shooting in a move that prompted a district-wide lockdown.

Fifty-eight-year-old David Wachta of Monson, Massachusetts has been arrested and charged with breach of peace and first-degree threatening.

Police say school administrators learned Wachta, a janitor at Stafford Middle School, had made the threat on Friday, saying he was going to “shoot up the school.”

The schools were on lockdown until after Wachta was arrested shortly before noon on Monday. The schools were on a soft lockdown, which means students and teachers were allowed to roam but not leave the buildings.

Wachta is being held on a bond of $100,000.