Lazarus Chakwera has been sworn in as president of Malawi after winning an election rerun.
He defeated incumbent Peter Mutharika with 58.57% of the vote in Tuesday’s poll, the electoral commission announced late on Saturday.
In February, Malawi’s constitutional court annulled Mr Mutharika’s victory in the May 2019 election, citing vote tampering.
The country was bitterly divided in the run-up to this week’s election.
Other countries in Africa have had elections annulled – it happened in Kenya in 2017 – but for the opposition candidate to then go on and win a rerun is unprecedented, correspondents say.
Speaking ahead of Saturday’s results, Mr Mutharika said that while he found the election “unacceptable”, it was his “sincere hope that we should take this country forward instead of backwards.”
Saulos Chilima, Mr Chakwera’s running mate, was also sworn in as vice-president at a ceremony in the capital, Lilongwe.
Mr Chakwera, a Pentecostal preacher and former theology lecturer, will first have to heal a nation that has been through many months of political turmoil.