KALISPELL, Mont. (AP) — A Kalispell man accused of making online threats to schools and religious leaders before stocking up on guns at his home has been released from jail.

The Flathead Beacon reports that 29-year-old David Joseph Lenio was released on his own recognizance last week after attorneys on both sides reached a deal. Lenio will be staying with his family in Michigan until his November trial.

He was arrested Feb. 16 after a Twitter rant threatening school children and Jewish people caught the attention of Jonathan Hutson, a spokesman in Washington D.C. for the Brady Campaign to Prevent Gun Violence. Shortly after the tirade, Lenio is accused of moving guns to his house.

Kalispell Police Chief Roger Nasset says Lenio posed a "very real threat" because he had moved the weapons to his home.

More From Newstalk KGVO 1290 AM & 98.3 FM