Nigerian President Muhammadu Buhari has been re-elected for a second four-year term, results from Saturday’s general election show.
The 76-year-old defeated his main rival, former Vice President Atiku Abubakar, with a margin of just under four million votes.
Mr Abubakar’s People’s Democratic Party has rejected the result.
Delays and violence marred the run-up to the poll but no independent observer has cited electoral fraud.
Final results released by the Nigerian electoral commission (Inec) show Mr Buhari was re-elected with a margin of just under four million votes.
Turnout was just below 35% of registered voters.
A former soldier, Mr Buhari led a military regime in the 1980s, and was first elected president in 2015. He will face a range of problems including power shortages, corruption, security threats, and an economic slowdown.
The president has quelled a militant Islamist rebellion in Nigeria’s north-east, but Boko Haram remains active. There has also been an upsurge in violence in the Middle Belt as traditional herders and more settled farmers have clashed.