AUSTIN, Texas (AP) — A Texas man must serve three years in federal prison for creating fake political action committees in 2016 supporting Donald Trump, Hillary Clinton and Bernie Sanders that raised more than $500,000.

Kyle Gerald Prall of Austin was sentenced Tuesday. The 40-year-old Prall in May pleaded guilty to mail fraud. He must also repay $548,000.

Prosecutors say Prall acknowledged creating political action committees called “Feel Bern,” ”HC4President” and “Trump Victory.” Websites for the bogus committees told supporters their money would pay for transporting voters to polling sites, training volunteers and making phone calls.

Authorities say Prall used only about $5,000 for political causes and spent the rest of the money on personal expenses such as travel, hotel stays, alcohol and massages.