Koryagin served as chief psychiatrist to the underground Commission to Investigate the Use of Psychiatry for Political Purposes, which was formed in 1977. He and another psychiatrist examined 55 dissidents who had been released or were going to be involuntarily confined. They concluded that there was no medical justification for the confinement of these people, and then campaigned for the release of dissidents held in psychiatric facilities. Koryagin was arrested in February 1981. In June that year he was sentenced to 7 years of hard labor, to be followed by 5 years of internal exile. The charge was anti-Soviet activities for having corresponded with the British medical journalThe Lancet, which published an article by Koryagin critical of the Soviet government's use of involuntary psychiatric confinement for political reasons. Koryagin was stripped of Soviet citizenship after publishing his article in which he accused the Soviets of interning sane people to psychiatric hospitals. Koryagin documented the existence of 16 special hospitals for dissidents and 183 political prisoners that were confined in them. The transcripts of his trial, which were published by Amnesty International in 1982, record the following statement he made: On 5 April 1981, the Moscow Helsinki Group members Yelena Bonner, Sofiya Kalistratova, Ivan Kovalyov, Naum Meiman issued document No. 162 "The Arrest of Anatoly Koryagin" which stated,
Detention, recognition and later life
While held in the Chistopol prison, Koryagin often went on hunger strike, and as a result he was forcibly fed and also drugged with antipsychotic medications. He was beaten in a punishment cell. He made notes that contained the description of his imprisonment and were translated into English by Freedom House in New York City. According to Koryagin, Khasanov, head of the section where he was imprisoned, told him, "You'll die like a dog here." Koryagin managed to smuggle a letter to the West documenting his ordeal. The General Assembly of the World Psychiatric Association passed a resolution making Dr. Anatoly Koryagin an honorary individual member of the World Psychiatric Association for "demonstrating in the struggle against the perversion of psychiatry for nonmedical purposes, professional conscience, courage and devotion to duty, all in exceptional measure". The American Psychiatric Association elected him an honorary member while he was still imprisoned, and the Royal College of Psychiatry, which elected him a Fellow, addressed a letter to Yuri Andropov requesting his release. In 1983, the American Association for the Advancement of Science bestowed him with the Scientific Freedom and Responsibility Award. Koryagin was eventually released on 19 February 1987 and emigrated to Switzerland on 24 April 1987. Although he had been offered asylum in Switzerland, he initially refused because one of his sons had just been arrested, but finally emigrated to Switzerland with his entire family later that year after his son's release. During the Glasnost period, he remained a vocal critic of the Soviet psychiatric system, and a harsh critic of torture. In 1987, Koryagin and his participation in struggle against political abuse of psychiatry in the Soviet Union became the subject of Robert van Voren's book Koryagin: A Man Struggling for Human Dignity. In 1988, Koryagin sent the letter of appreciation for having been honoured with Fellowship in the Royal College of Psychiatrists to its President James Birley. In 1990, Psychiatric Bulletin of the Royal College of Psychiatrists published the article Compulsion in psychiatry: blessing or curse? by Anatoly Koryagin. It contains eight arguments by which the existence of a system of political abuse of psychiatry in the U.S.S.R. can easily be demonstrated and analysis of the abuse of psychiatry. In 1995 Koryagin returned to Russia and lived in Pereyaslavl-Zalessky. Now he lives in Switzerland.