The 82 schoolgirls released by Boko Haram Islamist militants have met Nigerian President Muhammadu Buhari.
They were escorted to the reception in the capital Abuja by armed soldiers, after a check-up at a medical centre.
Mr Buhari said he was joyous that they were free. He is now travelling to London for medical reasons as concern grows for his health.
A spokesman said there was “no cause for worry” and that he was travelling for a “follow-up” consultation.
Mr Buhari, 74, returned from the UK in March after seven weeks of sick leave. When he returned home he said he had never been so ill in his life.
What illness he has remains undisclosed but concerns about his condition grew in recent weeks after he missed several cabinet meetings.
The girls were handed over on Saturday in exchange for Boko Haram suspects after negotiations.
They were from a group of 276 abducted in north-eastern Nigeria in 2014. Before the latest release, about 195 of the girls were still missing.
The number of Boko Haram suspects released by authorities remains unknown.
“I cannot express in a few words how happy I am to welcome our dear girls back to freedom,” Mr Buhari told the girls in Abuja, according to his office.
“On behalf of all Nigerians, I will like to share my joy with you,” he said.
Mr Buhari would have left earlier on Sunday to London but wanted to receive the schoolgirls, his spokesman Femi Adesina said.