Collation of results from the 36 states of Nigeria is underway after polls closed in Nigeria's presidential election.
Counting is underway in Nigeria's presidential election, with the incumbent Goodluck Jonathan facing a strong challenge from former military ruler Muhammadu Buhari.
The election commission (Inec) said it hoped to announce the winner on Monday.
The UN has praised the poll despite technical hitches, protests and violence linked to Boko Haram.
Voting spilled into a second day in some parts of Nigeria after problems with new electronic card readers.
President Jonathan was among those unable to cast his vote using the technology, which was introduced to prevent fraud.
His Peoples Democratic Party (PDP), who had opposed the card readers, called it a "huge national embarrassment".
The Inec chair, Attahiru Jega, stressed that only a fraction of the 150,000 card readers being used nationwide had failed.
The vote had been delayed by six weeks because of the insurgency by Boko Haram militants.
The Islamists attacked polling stations in north-eastern states, with a curfew declared in Bauchi State after fighting between the security forces and the group.
The UN Secretary General Ban Ki-moon praised the "determination and resilience" of Nigerian voters, despite the reports of attacks by Boko Haram and others.
He said in a statement voting had been "largely peaceful and orderly".
His comments have been echoed by the regional bloc Ecowas, who urged Nigerians to accept the result.
But there has been tension in the southern Rivers State, where thousands protested against alleged killings of opposition workers and voting irregularities.
Inec said it was "concerned" by the complaints, adding that one of their offices was set on fire during the unrest.
Results of the voting are expected to pour in through Sunday night but so far there is no official indication of which party is in the lead.
The PDP has dominated Nigerian politics since 1999, but Gen Buhari's All Progressives Congress is viewed as a serious challenge.
Voters are also electing members of the house of representatives and the senate.