More than 300 schoolboys have been reunited with their families, a week after they were kidnapped from their school in north-west Nigeria.
The boys arrived in the state capital Katsina by bus.
Reporters said they looked tired and weary but otherwise well. Some were still wearing their school uniforms, while others clutched grey blankets.
The 11 December attack on the school in Kankara town was claimed by the Islamist militant group Boko Haram.
It remains unclear if all those captured have now been released.
Katsina Governor Aminu Bello Masari said on Thursday that 344 children had been turned over to security officials.
"I think we can say ... we have recovered most of the boys, if not all of them," he told the Associated Press.
The boys were flanked by armed police as they walked in single file from the buses to a government building to meet the governor. They were also due to undergo medical checks.
One boy told a TV station that the group had been fed bread and cassava during their captivity and said it had been cold. He said was "really happy" to be back in Katsina.
Parents were overjoyed to be reunited with their sons. "I couldn't believe what I heard until neighbours came to inform me that it's true," Hafsat Funtua, whose son is 16, told Reuters news agency.
How was the boys' release secured?
The government insists no ransom was paid but that the boys were released after negotiations with the kidnappers.
Although Islamist militant group Boko Haram said it was behind the kidnapping, this has been denied by Nigerian officials.
Zamfara state governor Bello Matawalle, in whose state the boys were released, told the BBC that three separate negotiations had taken place before the boys' freedom was secured.
They were released in Tsafe town in Zamfara on Thursday evening, authorities say.
Mr Matawalle told BBC Hausa that during the negotiations the kidnappers raised various grievances.
"Among their complaints was how people kill their cattle and how various vigilante units disturb them," the governor said, adding that the government had promised to look into the complaints of the kidnappers.
Conflict between herders and farming communities are common in Nigeria's central and north-western states, says the BBC's Nduka Orjinmo in Lagos.
Both groups have been warring for decades but deadly clashes have increased in recent years as farming communities and herdsmen have employed armed vigilantes, especially in Nigeria's north-west.
How did the school attack unfold?
Witnesses said armed men raided the school in Kankara town last Friday evening. Many students jumped the school fence and fled when they heard gunshots.
Some were tracked by the gunmen, who tricked them into believing that they were security personnel, students who escaped said. Once these students were rounded up, they were marched into the nearby forest by the armed men.
On Thursday, video was released bearing Boko Haram's emblem, showing dozens of boys, some of whom appear to be very young.
One of the boys said they were kidnapped by Boko Haram leader Abubakar Shekau's group and that all the government troops who had been sent to help them should be turned back.
What's the wider picture?
Boko Haram has become notorious over the last decade for school kidnappings, including one in Chibok in 2014, when nearly 300 schoolgirls were seized. The group's name loosely translates as "Western education is forbidden".
However, these abductions have until now taken place in north-eastern Nigeria, where Boko Haram is based.
Armed attacks and kidnappings are rife in north-western Nigeria and are often blamed on bandits, a loose term for gangs operating in the area.
Amnesty International says more than 1,100 people were killed by bandits in the first six months of this year, with the government failing to bring the attackers to justice.
Latest Stories
-
Why the drama if FDA declared repackaged ‘expired’ rice wholesome? – Kwasi Kwarteng to Ablakwa
2 mins -
Engage Now Africa and LDS Church commission new mother and child hospital in U/E Region
4 mins -
22,000 bags of alleged ‘expired’ rice were “wholesome” for consumption – Education Ministry
8 mins -
Kirani Ayat wasn’t ready for our collaborative project – GTA CEO Akwasi Agyeman
15 mins -
I didn’t copy my dance moves, I’m just being myself – Brain Jotter
16 mins -
Generation Ghana’s GROW Program stakeholder gathering highlights career transformations of over 700 learners
17 mins -
Minority demands arrest of Lamens CEO over alleged repackaged expired rice scandal
23 mins -
Election 2024: Police will maintain neutrality and act professionally – IGP Dampare
27 mins -
GEDA renovates boy’s dormitory for Mampong school for the deaf, donates consumables
30 mins -
Election 2024: Bawumia pledges to elevate Kumawu District to Municipal status if he wins
33 mins -
Mahama starts 5-day tour of Eastern Region today
40 mins -
Fury in Russia at ‘serious escalation’ of missile move
53 mins -
Asantehene, Anthony Dzamefe, Leonard Kwaku Okyere celebrate 89th Ghana Open Championship in Kumasi
1 hour -
Election 2024: Mahama urges Ghanaians not to repeat the mistakes of 2016 and 2020
1 hour -
‘GFA doing trial-and-error with Black Stars coaching job’ – George Afriyie
1 hour