He ran for office to avoid criminal charges.