The former president undermined the political system in the US and sowed doubt about the integrity of the country's elections.