In medicine, he specialised in what is now psychiatry. In 1822 he published A Treatise on Diseases of the Nervous System[16] (pt. I), and in 1835 a Treatise on Insanity and Other Disorders Affecting the Mind, in which he advanced the theory of the existence of a distinct mental illness called moral insanity.