Wikipedia
Forensic psychiatry is a sub-speciality of psychiatry and is related to criminology. It encompasses the interface between law and psychiatry. A forensic psychiatrist provides services – such as determination of competency to stand trial – to a court of law to facilitate the adjudicative process and provide treatment like medications and psychotherapy to criminals.
Usage examples of "forensic psychiatry".
But I had heard, yes, of the Serbsky Institute of Forensic Psychiatry: it's an old granite building with iron gates and armed sentries, containing mostly political wards where those straying from the Party line are submitted to 'special diagnosis' and subsequent 'treatment'.
Leary was brought to trial for the murder of Teddy Smith, was again judged insane, and was committed to the state's Center for Forensic Psychiatry at Ypsilanti.