A man living in in a Boston suburb was arrested after he allegedly stockpiled a trove of weapons and ammunition and made threats to kill President Obama, Muslims and police officers.

Joseph Garguilo, 40, was arrested as his Holliston home early Saturday and later charged with possessing ammunition in violation of an active existing restraining order, according to the U.S. Attorney's Office for the District of Massachusetts.

Holliston is roughly 30 miles southwest of Boston.

A criminal complaint reveals federal agents found parts to assemble an AR-15 rifle, ammunition for the AR-15 rifle, chemicals that could be used to make an explosive devise and handwritten notes threatening members of the Islamic faith.

The FBI said Garguilo did not have a firearms identification card or a license to carry firearms in Massachusetts.

Garguilo also allegedly stated that "he will plant a bomb in a police station ... and kill as many homeland security officers as he can before they kill him," as well as attack a mosque and/or kill Obama.

The FBI learned that Garguilo was stockpiling food and water as part of his plan, and that an acquaintance of Garguilo's believed he was "about to snap."

The FBI said their investigation into Garguilo began in July, and he was due to be arraigned in U.S. District Court in Boston at 2:30 p.m. Monday.