A gay man in central China has won an apology and compensation from a mental hospital over forced conversion therapy, reports say.
The man, identified only by his surname Yu, had been admitted by his wife and relatives to the hospital in the town of Zhumadian in Henan province in 2015.
He was forced to take medicine and have injections over 19 days.
But the court found that forcing him into a mental institution if he did not pose a danger infringed his rights.
Last month it ordered the hospital – which had diagnosed Mr Yu with “sexual preference disorder” – to publish a public apology in local newspapers and pay the 38-year-old $735 (£570), AP said citing a copy of the judgement.
However the court did not express an opinion on the practice of gay conversion therapy.
Homosexuality was considered to be a mental disorder in China until 2001, and attitudes remain conservative.
In 2014 gay rights activist Peng Yanhui went into a private conversion therapy clinic in Beijing to investigate the electroshock treatments it was advertising.
He later sued the hospital over the suffering he went through and won $500. Advertisements for the service were ordered to be removed from the internet.
“It’s time for China to enact laws to prohibit forced gay conversion therapy,” he told AP after the Zhumadian ruling, which he said confirmed that forced treatments were illegal.
There is growing awareness of LGBT issues in China. Big cities have lively gay scenes, and last month Shanghai held a gay pride parade.
However, millions of gay people in China have married heterosexual partners rather than come out as gay as a result of pressure from families, advocacy groups say.
Last month a lesbian dating app was closed down by the authorities. Users said the move came after the app expressed support for parents of LGBT children who were handing out leaflets at a Shanghai marriage market, where parents try to find partners for their children.
Last year a judge ruled that a gay couple could not register as married, the first case of its kind in China.
Meanwhile, a social media campaign saw LGBT people pledge not to enter into sham marriages with heterosexual people.