YANGON, Myanmar — A court in Myanmar granted bail Friday to a newspaper editor who is being tried under a controversial defamation statute in a telecommunications law.

Kyaw Min Swe, chief editor of The Voice Daily, was arrested in June for publishing online a satirical article that allegedly mocked the efforts of the military to reach a peace agreement with ethnic minority groups.

His previous requests for bail had been rejected, but during his ninth appearance in court, the judge granted his release on bail of 10 million kyats ($7,000).

He was charged under Article 66(D) of the Telecommunications Law, which broadly defines defamation and carries a penalty of up to three years’ imprisonment.

Rights groups decry the article as a restriction on freedom of expression, but the country’s parliament this week turned down a bid to drop the article and decriminalize the offense.

One of the newspaper’s columnists, Kyaw Zwa Naing, was also arrested on June 2 under Article 66(D), but the charge against him was dropped last month.