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.

Trump says deal to end war to be signed Sunday, Iran questions timing
India Air Force plane crash kills all five onboard
Ukrainian strike kills one, wounds 3 in southern Russia
Trump says US military strike killed leader of Venezuela's Tren de Aragua gang
Qatar rejects media report on energy production decisions
Trump says Iran war deal close as Strait of Hormuz tensions linger
Victims' families mark Air India crash anniversary with prayers and tributes
Ebola outbreak spreads to crowded displacement camp in Congo
