More than a quarter of Myanmar’s prison population is being released, the president’s office announced on Friday after calls grew to ease pressure on overcrowded jails with coronavirus fears gripping the country.

The Southeast Asian nation grants an annual amnesty to thousands of prisoners to mark its April New Year holiday, but this is the largest recorded in recent years.

It comes as governments around the world – including the US, parts of Europe, and Colombia – grapple with overcrowded prisons as fears spiral of virus outbreaks behind bars.

“To mark Myanmar New Year, by respecting humanitarianism and peace, the president pardons altogether 24,896 prisoners from various prisons,” the president’s office said in a statement on Friday.

As news of the amnesty spread, crowds defied a new ban on gatherings of five or more people to assemble outside Yangon’s notorious Insein prison, hoping to see their family members freed.

As buses brought the newly-released through the prison gates, cheers erupted with people waving flowers and reaching to grasp the hands of relatives leaning out of the bus windows.

Wearing a mask, Ei Nge said she came to the prison as soon as she heard about the amnesty.

“I’m not even thinking about coronavirus. I just really want to see my son.”

So far Myanmar has officially confirmed 85 cases of Covid-19, including four deaths, but experts fear the real number is many times higher because of the low numbers being tested.

The country is under a nationwide lockdown and there had been growing pressure to release inmates from what Human Rights Watch (HRW) branded “horribly overcrowded and unsanitary” jails.

The president’s office said 87 foreigners included in the amnesty would be deported.

By Friday afternoon, the Assistance Association for Political Prisoners said it only had confirmation of the release of 12 of 76 prisoners of conscience, but the group was holding out hope for the others.

However, Amnesty International was more critical in its response to the move. Its senior director for research, advocacy and policy Clare Algar said: “It’s appalling that prisoners of conscience and peaceful activists were largely excluded from yesterday’s presidential amnesty.

“They should not be in prison in the first place and are victims of repression, harassment and arbitrary arrests by the Myanmar authorities, both the civilian-led government and the military.

“Moreover, crowded prisons and detention centres are a very dangerous hotspot for Covid-19 outbreaks.

“As Myanmar responds to the unfolding health crisis, it is more important than ever that the authorities take urgent measures to protect all those who are deprived of their liberty, especially by releasing all individuals who are held simply for peacefully exercising their rights.

“All human rights defenders and activists remaining in prison solely for peacefully exercising their rights to freedom of expression, association and peaceful assembly should be immediately and unconditionally released,” she said.

Before the amnesty, there were nearly 100,000 inmates across the country’s prisons which had space for just 62,000, said HRW.

Last year’s amnesty included the high-profile cases of two Reuters journalists, Wa Lone and Kyaw Soe Oo, who spent more than 500 days behind bars over their reporting on the 2017 Rohingya crisis.