He campaigned without grace, insulting opponents and alleging election fraud without proof after failing to win the first round of voting last month.