Nigerian President Muhammadu Buhari has been re-elected for a second four-year term.
Election officials said the former military dictator had defeated his main rival, former Vice President Atiku Abubakar, with a margin of just under four million votes.
Buhari secured 15.1 million votes, while Abubakar of the People's Democratic Party (PDP) received 11.2 million, with voter turnout at a meagre 35.6 per cent.
The opposition has rejected the results, claiming voter fraud and irregularities.

Pakistan bombs targets in Afghan cities, minister calls it 'open war'
Hillary Clinton tells panel she has no information on Epstein
US, Ukraine discuss post-war reconstruction as Russia pummels grid
Israeli fire kills three people in Gaza as truce deal staggers
Cuban forces kill 4 exiles who attacked from Florida speedboat