Burma's president Win Myint has granted amnesty to more than 8,500 prisoners.
At least three dozen political prisoners are believed to be among those being released to coincide with the country's traditional New Year.
It was granted to 8,490 Burmese citizens and 51 foreigners and a statement from presidential spokesman Zaw Thay said those released included the aged, people in ill health and drug offenders.
None was individually named.
The releases were to take place at prisons nationwide.
Relatives and friends of those held waited Tuesday outside the gates at Insein Prison, in the northern outskirts of Rangoon, where it was expected that more than 300 prisoners, including eight political detainees, would be released.
As they came through the gate, the released prisoners looked excited, though many were reluctant to be interviewed.
One of those freed was Saw War Lay, a member of the Karen ethnic minority who was arrested in 2006 and is serving a life sentence for his connection with the Karen National Union ethnic rebel group.
"I really would like to say many thanks to the president.
"But I am so sad for those prisoners who (are) still inside."
Two Christian pastors from the Kachin minority were freed from a prison in Lashio, in northern Burma, in a more recent and high-profile case.
Last year, Pastor Dumdaw Nawng Lat, 65, was sentenced to four years and three months in prison and Baptist youth leader Langjaw Gam Seng, 35, was sentenced to two years and three months for allegedly providing support to an ethnic armed group and defaming the military.
In the aftermath of a government offensive in northern Burma, they had helped journalists report on a Catholic church that was destroyed in an airstrike in November 2016.
Combat in the area still continues.
"We are here with both of them and the whole Baptist community is very happy to have them back," lawyer Brang Di said by phone.
"Everyone is praying for them and encouraging them."
Although called an amnesty, the action appeared to actually be a mass pardon, meaning it would cover only prisoners who had already been convicted of crimes.
Two Reuters reporters, Wa Lone and Kyaw Soe Oo, facing a high-profile freedom of the press trial for possessing secret official documents would not be covered under the action.
One of the journalists' lawyers, Khin Maung Zaw, said his understanding was that the president was only pardoning convicted criminals.
Win Myint became president last month, after his predecessor, Htin Kyaw, stepped down because of illness.
The release of political prisoners was a priority of Aung San Suu Kyi's National League for Democracy party when it took over power from a pro-military government in March 2016.
Ms Suu Kyi is the country's de facto leader, holding the specially created post of State Counsellor.
Constitutional rules prohibit her from serving as president because her two children are British, as was her late husband.
When Ms Suu Kyi's government took power in 2016, it made it a priority to release political prisoners detained during military rule, freeing almost 200 within a month.
However, critics of Ms Suu Kyi's government say it also has pursued politically motivated prosecutions, citing cases against land rights activists and journalists.
- Press Association