Updated

The FBI arrested a Massachusetts man on Saturday who allegedly intended to kill President Obama and had a stockpile of weapons that were in violation of a protective order.

According to a federal complaint filed Sunday and obtained by Fox News, Joseph Garguilo maintained a large supply of ammunition, weapons, and explosives material, which was discovered by investigators while executing a search of the man’s Holliston, Mass., home.

The FBI said it received a tip in July from an individual close to Garguilo that he had acquired parts to make an AR-15 rifle, and that he was also in possession of a number of other weapons, including tasers, mace guns, and hunting knives, as well as thermite, a component used to make explosives. Officials say the tipster was prompted to contact authorities after being frightened by Garguilo’s growing instability and his expressed desire to murder government officials, including the commander-in-chief.

Court documents state the 48-year-old expressed his desire to kill President Obama on more than one occasion.

“Garguilo made a comment to the effect that when President Obama was on the golf course in Martha's Vineyard, Garguilo should have taken the opportunity to kill him,” the federal complaint reads.

Prosecutors also allege he was intent on murdering homeland security officers and Muslims, and setting explosives in area mosques.

Court documents paint the picture of a mentally disturbed individual, convinced the United States would soon be in a state of martial law. Garguilo is alleged to have also abused steroids.

He has been charged with one count of being a prohibited person in possession of ammunition.

Officials said Garguilo had been the subject of an active restraining order after authorities found that he presented a “substantial likelihood of immediate danger of abuse.”

Garguilo is due back in court on Sept. 7. If convicted, he faces 10 years in prison and a $250,000 fine.