Nigeria has been declared officially free of Ebola after a 42-day period with no new cases, the World Health Organisation (WHO) has said.
The announcement eases fears that the disease could have spread to one of Africa's most densely-populated areas.
WHO Director General Dr Margaret Chan said on Sunday that the appearance of the virus in Lagos would have been "the worst nightmare scenario anyone could imagine".
She said the nation's innovative polio campaign, which uses satellite technologies to track population, had been re-purposed to aid the fight against Ebola.
Last week, the WHO announced that Senegal was Ebola-free, but the pace of the outbreak continues to quicken in the three worst-hit countries.
Suspected insurgents attacked the village of Abadam, killing at least one person and ransacking homes.
Another attack on the village of Dzur left at least eight people dead.
Nigeria's armed forces chief, Air Chief Marshal Alex Badeh, announced on Friday a deal with Boko Haram for a ceasefire.
Nigeria aims to have around 200 girls kidnapped by Islamist Boko Haram militants freed by Tuesday, according to a senior source at the presidency.
The source was speaking to Reuters news agency but he declined to comment on where the transfer would take place.
He said: "I can confirm that the federal government is working hard to meet its own part of the agreement so that the release of the abductees can by effected either on Monday or latest Tuesday next week."
Boko Haram could release 200 missing Nigeria schoolgirls within 'hours or days' after being abducted by the terror group six months ago.
Nigerian defence spokesman Major General Chris Olukolade said the deal was still being negotiated.
But French President Francois Hollande welcomed the "good news" and told a news conference in Paris the girls' release "could happen in the coming hours and days".
France has been involved in negotiations that led to the release of several of its citizens kidnapped by Boko Haram in Cameroon.
Boko Haram negotiators have assured that the schoolgirls and all other people in their captivity are all alive and well.
A senior Nigerian security source confirmed the existence of talks to Reuters, but said it remained unclear whether Abuja was negotiating with self-proclaimed Boko Haram leader Abubakar Shekau, or another faction within the group.
"Commitment among parts of Boko Haram and the military does appear to be genuine. It is worth taking seriously," the security source told Reuters.
Talks have failed before in part because the group has several different factions.
The government was negotiating with Danladi Ahmadu, a man calling himself the secretary-general of Boko Haram, the presidency source said. It was not clear if Ahmadu is part of the same faction as Shekau.
Nigerian presidential aide Hassan Tukur said the agreement followed a month of negotiations, mediated by Chad.
He told BBC Focus on Africa that Boko Haram had announced a unilateral ceasefire on Thursday and the government had responded.
"They've assured us they have the girls and they will release them," he said.
"I am cautiously optimistic."
The schoolgirls kidnapped from Chibok School six months ago will be released by Boko Haram as part of a ceasefire agreement, the Presidency has announced.
The Nigerian government has agreed a ceasefire with the militant Islamic group Boko Haram, the Presidency has said.
Torture is so routine in Nigeria that some police stations appoint an 'officer in charge of torture' according to Amnesty International UK.Read the full story ›
Islamist group Boko Haram militants seized a northeastern Nigerian town of Bama, killing scores of people and driving thousands of residents from their homes, Reuters reported.
Reports say at least 5,000 people fled when the Islamists overrun the town, 70 km from the norteastern Borno state capital of Maiduguri.
Adrian Edwards, spokesman for the UN refugees agency, said around 645,000 people are internally displaced in Nigeria because of the fighting.