This is an archived article that was published on sltrib.com in 2016, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

A Provo man accused of trying to bring a small homemade explosive device into a federal building in Salt Lake City has agreed to a plea deal with prosecutors.

Court records show Brandon Bushnell, 33, pleaded guilty Tuesday to a misdemeanor charge of unlawful possession of an explosive in a federal building. He is expected to be sentenced to probation on Nov. 30 under the terms of the deal.

Prosecutors say Bushnell had a device known as a "cricket bomb" in his pocket when he arrived for a Social Security Administration hearing last November. The building was evacuated after a security guard found it. No one was hurt.

Defense attorney Stephen McCaughey says Bushnell forgot he had the small device in his pocket and didn't mean to cause any harm.

The cricket bomb consisted of a carbon dioxide cartridge filled with "flower dust," or the pyrotechnic material found inside consumer fireworks, with an apparent hobby fuse as the initiator, charges state.