Japanese documentary filmmaker Toru Kubota returned to Japan on a commercial flight Friday after being released from a Myanmar prison under an amnesty by the junta the previous day.

Kubota was detained on July 30 while filming an anti-coup protest in Myanmar's largest city Yangon and sentenced by a military-controlled court to 10 years in prison for sedition, among other crimes.

The 26-year-old was among four foreign nationals granted amnesty, along with 5,774 local prisoners, according to the Japanese government. Those pardoned included Australian Sean Turnell, former economic adviser for deposed leader Aung San Suu Kyi, and former British envoy Vicky Bowman.