China has sentenced prominent human rights lawyer Wang Quanzhang to four and a half years in prison for state subversion.
Wang, 42, had defended political campaigners and victims of land seizures, as well as followers of the banned spiritual Falun Gong movement.
He was one of several lawyers and activists arrested in a 2015 crackdown, and the last to go on trial.
China has intensified its prosecution of rights lawyers in recent years.
Mr Wang was "found guilty of subverting state power, sentenced to four years and six months in prison, and deprived of political rights for five years," the court in Tianjin said.
The trial had been conducted behind closed doors with journalists and foreign diplomats barred from entering the courthouse.
Reuters news agency reports that Wang fired his state-appointed lawyer during the proceedings.
Ghana News Headlines
For latest news in Ghana, visit Graphic Online news headlines page Ghana news page
Wang's wife, Li Wenzu, was also banned from attending and confined to her home in Beijing. A tireless champion of his case, she has shaved her head in protest against his detention and files near-weekly petitions to China's highest court.
In April, police intercepted Ms Li after she began a 100km (62 mile) march calling for her husband's release. She was forcibly returned to Beijing and placed under temporary house arrest with her five-year-old son.
After the verdict Ms Li tweeted: "Wang Quanqi is not guilty, the public prosecution law is guilty!"
Michael Caster, researcher and author of The People's Republic of the Disappeared, told the BBC that Wang's case was "emblematic of Xi Jinping's assault on the human rights and legal community".
"The rights defence and broader civil society community in China is rightly outraged. For some time now they have rallied around Wang Quanzhang and his wife Li Wenzu as symbolic of both abuse and resistance under Xi Jinping," he said after the sentencing.
Mr Caster said that "the UN Working Group on Arbitrary Detention has found that Wang's detention is arbitrary, which means that under international law he should never have faced a trial in the first place, and so obviously should never have faced any length of sentence".
Rights groups have condemned the trial with Amnesty International calling it a "sham" and the verdict "a gross injustice".
"It's outrageous that Wang Quanzhang is being punished for peacefully standing up for human rights in China," Amnesty China researcher Doriane Lau said in a statement.
China's crackdown on lawyers, known as the "709" crackdown because it began on 9 July, has been seen by activists as a sign of a growing intolerance of dissent under President Xi Jinping.
More than 200 people were detained in that sweep, with many given jail terms, suspended sentences or house arrest.