BEIJING (Reuters) - A Chinese court on Tuesday sentenced a U.S. citizen to three-years and six-months in prison for espionage but then ordered she be deported, her lawyer said, in a case that has added to U.S.-China tension.

Sandy Phan-Gillis, who has Chinese ancestry and is a naturalized U.S. citizen, was arrested in March 2015 while about to leave mainland China for the Chinese-ruled, former Portuguese colony of Macau, and had been held without charges since then.

She had plead guilty during a trial in the southwestern city of Nanning and was not planning to appeal, lawyer Shang Baojun told Reuters.

“She will probably be exported to the U.S. soon, but we do not know the exact date yet,” Shang said, adding that she was being held in a police station in the meantime.

The government has not released details of the charges against Phan-Gillis.

Shang said that because the case touched upon “state secrets”, he could not reveal details of the ruling until the official verdict had been released, which was expected within the next five days.

Phan-Gillis had been in regular contact with U.S. officials while in detention, Shang said.

The U.S. Embassy in Beijing referred questions about the charges of espionage to Phan-Gillis’ legal team.

“We remain concerned about Ms Phan-Gillis’ welfare and continue to follow her case closely,” embassy spokeswoman Mary Beth Polley told Reuters.

“We are in favor of any result that allows her to return home to her family soon,” Polley said, when asked about a possible Chinese deportation order.

Calls to the court went unanswered after work hours on Tuesday, and it was not possible to reach Phan-Gillis for comment.

China’s definition of state secrets is very broad, encompassing everything from government directives to top leaders’ birthdays. Information can also be declared a state secret retroactively.

The arrest added to tension between China and the United States in the final months of former President Barack Obama’s administration, a relationship already strained by China’s assertiveness over its claims in the disputed South China Sea.

Despite criticizing China on the campaign trail, U.S. President Donald Trump has recently warmed to it after a summit with President Xi Jinping in Florida in early April when Trump said they had developed an “outstanding” relationship.

In recent days, Trump has praised Chinese efforts to press North Korea to give up its development of nuclear weapons and long-range missiles.