The Criminal Lunatics Act 1800 (39 & 40 Geo 3 c 94) was an Act of the Parliament of Great Britain that required and established a set procedure for the indefinite detention of mentally ill offenders. It was passed through the House of Commons in direct reaction to the trial of James Hadfield, who attempted to assassinate King George III.