Despite his bad reputation, the politician won the elections.