The Nigerian authorities have dropped treason and other charges against dozens of protesters, including more than 30 children, who were arrested in August after taking part in anti-government demonstrations.
President Bola Tinubu had already called for the release of all the minors - some as young as 14 - after footage of four of them collapsing in court on Friday, apparently due to malnourishment, sparked outrage.
He also said the police and other officials involved in the arrests and subsequent legal processes should be investigated.
The viral videos of the young people writhing in pain led to a renewed debate over their treatment, as well as the length of their detention.
Initial reports had talked of 27 young people being affected, but details of another set of detainees, including more between the ages of 14 and 17, have emerged since.
The suspects had been in custody for nearly three months after participating in the #EndBadGovernance protests which swept the country in August over a deepening cost-of-living crisis.
The demonstrations turned violent in some places when protesters clashed with security forces.
Police say seven people died - though rights groups put the death toll at 23. Nearly 700 people were arrested.
Some of those in court in the capital, Abuja, on Friday were accused of flying Russian flags and planning to overthrow the Nigerian government.
In a statement on Monday, President Tinubu's spokesman Bayo Onanuga said the Nigerian humanitarian affairs ministry had been asked "to ensure the safe return of all the minors to their families while an investigation has been opened into the circumstances leading to their prolonged detention".
When the courtroom footage emerged, Nigerian rights organisation Enough is Enough said they had been subjected to "institutional child abuse".
Amnesty International described the children's detention as "one of the deadliest attempts to suppress freedom of assembly" so far.
Observers say the move to drop the charges and release the children was a face-saving measure and that the government would have avoided the embarrassment if it had not engaged in a high-handed approach against protesters demanding better governance.
Latest Stories
-
I want to focus more on my education – Chidimma Adetshina quits pageantry
34 mins -
Priest replaced after Sabrina Carpenter shoots music video in his church
47 mins -
Duct-taped banana artwork sells for $6.2m in NYC
57 mins -
Arrest warrants issued for Netanyahu, Gallant and Hamas commander over alleged war crimes
1 hour -
Actors Jonathan Majors and Meagan Good are engaged
1 hour -
Expired rice saga: A ‘best before date’ can be extended – Food and Agriculture Engineer
1 hour -
Why I rejected Range Rover gift from a man – Tiwa Savage
1 hour -
KNUST Engineering College honours Telecel Ghana CEO at Alumni Excellence Awards
2 hours -
Postecoglou backs Bentancur appeal after ‘mistake’
2 hours -
#Manifesto debate: NDC to enact and pass National Climate Law – Prof Klutse
2 hours -
‘Everything a manager could wish for’ – Guardiola signs new deal
2 hours -
TEWU suspends strike after NLC directive, urges swift resolution of grievances
2 hours -
Netflix debuts Grain Media’s explosive film
3 hours -
‘Expired’ rice scandal: FDA is complicit; top officials must be fired – Ablakwa
3 hours -
#TheManifestoDebate: We’ll provide potable water, expand water distribution network – NDC
4 hours