Bruce Bartman faces two felony counts of perjury and one count of unlawful voting after casting an absentee ballot for Trump in the name of Elizabeth Bartman, according to the Philadelphia Inquirer.

“In his political frustration, he chose to do something stupid,” Samuel Stretton, Bartman’s lawyer, told the newspaper. “And for that he is very sorry.”

District Attorney Jack Stollsteimer told reporters at a news conference Bartman admitted he was able to register his dead mother to vote online and request an absentee ballot in her name, which he filled out and submitted.