Federal prosecutors alleged in charges made public Wednesday that a California man who wrongly believed Donald Trump had won the election built pipe bombs and planned to go to “war” against Democrats and others to keep him in power.

Ian Benjamin Rogers had been taken into custody earlier this month on state charges after Napa County authorities and the FBI searched his home and business and found 49 guns and five pipe bombs, according to an FBI affidavit in the case.

While Rogers, 44, who owns an auto repair shop specializing in British vehicles, told investigators the bombs were for entertainment, investigators came to believe otherwise. According to the affidavit, authorities recovered text messages on Rogers’s phone showing “his belief that Donald Trump won the 2020 presidential election, and his intent to attack Democrats and places associated with Democrats in an effort to ensure Trump remained in office.”

Read more: Washington Post