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
-
May Day: There’s nothing for the Ghanaian worker to celebrate about- NAGRAT Vice President
10 mins -
We must address concerns of disgruntled members – Ejisu MP-elect to NPP
16 mins -
After the floods: Victims continue to suffer from harsh conditions 6 months after Akosombo Dam spillage
20 mins -
EIU forecasts oil prices to remain above $80
33 mins -
81% of business executives, professionals optimistic about prospects of Ghana’s economy – Deloitte
46 mins -
May Day: We’re committed to implementing policies that will honour your sacrifices – NDC to workers
1 hour -
Gbande calls for EC preparation discussion after Ejisu by-election
1 hour -
Stephen Ntim vows to reconcile NPP and Aduomi
2 hours -
2024 Olympic Games: French Embassy conduct pre-departure trainer for Ghanaian volunteers
2 hours -
Newly elected Ejisu MP pledges to reward constituents with development
2 hours -
Military officer shot dead over land dispute at Kasoa
3 hours -
ShoreCare: KNUST students organise clean-up exercise at Allan and African beaches
8 hours -
Ejisu by-election was an election of inducement – Hopeson Adorye
8 hours -
Air Quality: World Bank unveils $1 billion guarantee to bolster clean air projects globally
8 hours -
Dumsor Diaries: The struggle of tailors and seamstresses to make ends meet
8 hours