Feigned insanity is the simulation of mental illness in order to deceive. Amongst other purposes, insanity is feigned in order to avoid or lessen the consequences of a confrontation or conviction for an alleged crime. A number of treatises on medical jurisprudence were written during the nineteenth century, the most famous of which was Isaac Ray in 1838 (fifth edition 1871); others include Ryan (1832), Taylor (1845), Wharton and Stille (1855), Ordronaux (1869), Meymott (1882). The typical techniques as outlined in these works are the background for Dr. Neil S. Kaye's widely recognized guidelines that indicate an attempt to feign insanity.