In the early hours of Thursday morning, 21 of the kidnapped Chibok schoolgirls were released by their Boko Haram captors in the town of Banki close to Nigeria's border with Cameroon, security sources told the BBC.
They were handed over to a team from the International Committee of the Red Cross who provided assistance during the transfer of the girls.
A few hours later this group of young girls, whose kidnap from their school dormitories in the town of Chibok triggered international condemnation more than two years ago, were arriving in the capital Abuja to be received by the country's vice-president.
It was a rare piece of good news in Nigeria's brutal fight against a Boko Haram insurgency that has killed thousands of people and destroyed much of the country's northeast.
he girls' release was all the more surprising given that just last month the government - under intense pressure to do more to free the students - announced that negotiations with the Islamist group had broken down.
So why were the negotiations successful this time?
Image copyrightAFP
Image captionBoko Haram has shown some of those kidnapped on its propaganda videos
There are conflicting reports but one security official told the BBC that four Boko Haram commanders were freed as part of a swap.
The AP news agency also reported that a "handsome ransom" - in the millions of dollars - was paid by the Swiss government on behalf of the Nigerian government.
The Nigerian government has denied any prisoner swap. Vice-President Yemi Osinbajo said: "Absolutely, there was no exchange of any kind."
But, perhaps significantly, he did not rule out exchanges in the future, saying the government would "consider all options available".
Security analysts say it is ludicrous to suggest that Boko Haram handed over the girls while getting nothing in return.
The freeing of the students comes at a time of turmoil in the Islamist militant group. Boko Haram has split in two factions over its links with the so-called Islamic State.
The infighting may have created an opening.
The schoolgirls are being held by former Boko Haram leader Abubakar Shekau, who appears to have lost out in the power struggle.
From a position of weakness, he perhaps concluded he had nothing to lose by releasing some of the girls.
Image copyrightAFP/GETTY
Vice-President Yemi Osinbajo (left) insisted no prisoner swap had taken place
The Nigerian government says that negotiations with Boko Haram will continue to free the 197 students who are still missing.
Sadly for the families it appears that some of the girls have died in captivity.
The mother of the schoolgirl Amina Ali who escaped in May of this year told the BBC some of Amina's classmates were killed in military bombardments.
The respected Daily Trust newspaper also reported that, after more than two years in captivity and after being married off to Boko Haram fighters, some of the girls to do not want to go home.
Latest Stories
-
Nigerians mourn woman allegedly beheaded by gospel singer
13 minutes -
Sudan shelling kills more than 100 civilians near capital
21 minutes -
Mahama hits the ground running: Key reforms and directives in first days of office
25 minutes -
Relatives wait for news as body bags hauled from South African mine
32 minutes -
Kate reveals she is in remission from cancer
52 minutes -
UK’s Treasury minister resigns over anti-corruption investigation in Bangladesh
1 hour -
Fire Service calls for installation of fire extinguishers, detectors at marketplaces
1 hour -
Kofi Adu Domfeh: Prayers for rain in LA and the call for climate action
1 hour -
Don’t appoint Bawku or Kusasi native as U/E Regional Minister – Asamoah Boateng advises Mahama on averting dispute
1 hour -
Bono COCOBOD seizes trucks loaded with bags of cocoa, lumber
2 hours -
Recent Appointment Committees have become a theatre – Draman
2 hours -
Mahama appoints Justina Nelson as Acting CEO of MIIF
3 hours -
Tribunal system was evil, why does Mahama gov’t want it back? – Ansa-Asare
3 hours -
Kurt Okraku files nomination for CAF Executive Committee position
4 hours -
Criminologist urges police to engage communities to prevent attacks on security personnel
4 hours