A Maryland man who allegedly threatened this week to come to the Capitol and shoot an employee has been arrested and charged, according to the U.S. attorney for the District of Maryland.

On Feb. 2, Michael Bogoslavski, a 33-year-old Army veteran living in Cheverly, Md., sent text messages to a federal employee who worked in the Capitol, saying he was planning to come to the employee’s work place with guns and shoot them and others, according to an affidavit. The employee contacted Capitol Police to report the threat. While the employee was speaking with the department, Bogoslavski called the employee’s cell phone and made additional threats to shoot others, and “to die suicide by cop.”

Capitol Police alerted local law enforcement to locate Bogoslavski. The Cheverly Police Department responded to Bogoslavski’s residence where they took him into custody. Bogoslavski was taken to a hospital and released on Feb. 3, whereupon he was arrested and detained in federal custody.

Police obtained a search warrant for Bogoslavski’s home, where officers seized two loaded handguns, along with additional rounds of ammunition.

Bogoslavski served in the Army for more than nine years, which included two tours in Iraq and a tour in Afghanistan, before he was released from duty, according to investigators. He retired in March 2013.

Bogoslavski was charged with transmitting in interstate commerce a communication containing a threat to injure another person. He faces a maximum sentence of five years in prison followed by three years of supervised release and a $250,000 fine.

A detention hearing was held Feb. 4, and Bogoslavski was locked up, pending trial.