Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

YANGON, Myanmar — A judge on Monday found two Reuters journalists guilty of breaching a law on state secrets and sentenced them to seven years in prison, in a landmark case seen as a test of progress towards democracy in the Southeast Asian country.

Yangon northern district Judge Ye Lwin said Wa Lone, 32, and Kyaw Soe Oo, 28, breached the colonial-era Official Secrets Act when they collected and obtained confidential documents.

"The defendants...have breached Official Secrets Act section 3.1.c, and are sentenced to seven years. The time already served by the defendants from Dec. 12 will be taken into consideration," the judge said.

Press freedom advocates, the United Nations, the European Union and countries including the United States, Canada and Australia had called for the Reuters journalists' acquittal.

"Today is a sad day for Myanmar, Reuters journalists Wa Lone and Kyaw Soe Oo, and the press everywhere," Reuters editor-in-chief Stephen J. Adler said in a statement.

The reporters had told the court two police officials handed them papers at a north Yangon restaurant moments before other officers arrested them.

One police witness testified the restaurant meeting was a set-up to entrap the journalists to block or punish them for their reporting of a mass killing of Rohingya Muslims.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

"I have no fear," Wa Lone, one of the two journalists, said after the verdict. "I have not done anything wrong ... I believe in justice, democracy and freedom."

The verdict means Wa Lone and Kyaw Soe Oo — who both have young daughters and have not seen their families outside of prison visits and court hearings for nearly nine months — remain behind bars.

Kyaw Soe Oo has a three-year-old daughter and Wa Lone's wife, Pan Ei Mon, gave birth to their first child last month.

It comes amid building pressure on the administration of Nobel laureate Aung San Suu Kyi over a security crackdown sparked by militant attacks in August 2017.

U.S. Ambassador to the United Nations Nikki Haley said in a statement Monday that it's clear the military in Myanmar has committed vast atrocities. She said it's the duty of a responsible press in a free country to keep people informed and hold leaders accountable.

She said the U.S. will continue to call for the reporters' immediate and unconditional release.

More than 700,000 stateless Rohingya Muslims fled across western Myanmar's border with Bangladesh, according to United Nations' agencies.

The Reuters reporters were arrested on Dec. 12 while investigating the killing of 10 Rohingya and other abuses involving soldiers and police in Inn Din, a village in Rakhine state.

Myanmar has denied allegations of atrocities made by refugees against its security forces, saying it conducted a legitimate counterinsurgency operation against Muslim militants.

But the military acknowledged the killing of the 10 Rohingya men and boys at Inn Din after arresting the Reuters reporters.

The verdict had been postponed for a week because judge Ye Lwin was sick.

A U.N mandated fact-finding mission said last week Myanmar's military carried out mass killings and gang rapes of Muslim Rohingya with "genocidal intent" and called for top generals to be prosecuted. Myanmar rejected the findings.

The International Criminal Court is considering whether it has jurisdiction over events in Rakhine, while the United States, the European Union and Canada have sanctioned Myanmar military and police officers over the crackdown.

Myanmar government spokesman Zaw Htay has mostly declined to comment throughout the proceedings, saying Myanmar's courts were independent and the case would be conducted according to the law.