Hadfield's early years are unknown but he was severely injured at the Battle of Tourcoing in 1794. Before being captured by the French, he was struck eight times on the head with a sabre, the wounds being prominent for the rest of his life. After returning to England, he became involved in a millennialist movement and came to believe that the Second Coming of Jesus Christ would be advanced if he himself were killed by the British government. He therefore resolved, in conspiracy with Bannister Truelock, to attempt the assassination of the King and bring about his own judicial execution. On the evening of 15 May 1800, at the Theatre Royal, Drury Lane, during the playing of the national anthem, Hadfield fired a pistol at the King standing in the royal box but missed. Hadfield was tried for high treason and was defended by Thomas Erskine, the leading barrister of that era. Hadfield pleaded insanity but the standard of the day for a successful plea was that the defendant must be "lost to all sense … incapable of forming a judgement upon the consequences of the act which he is about to do". Hadfield's planning of the shooting appeared to contradict such a claim. Due to the 1795 Treason Act, there was little distinction between plotting treason and actually committing treason, thus Erskine chose to challenge the insanity test, instead contending that delusion "unaccompanied by frenzy or raving madness the true character of insanity". Two surgeons and a physiciantestified that the delusions were the consequence of his earlier head injuries. The judge, Lloyd Kenyon, 1st Baron Kenyon, at this point halted the trial declaring that the verdict "was clearly an acquittal" but "the prisoner, for his own sake, and for the sake of society at large, must not be discharged". Up to that time, defendants acquitted by reason of insanity had faced no certain fate and had often been released back to the safe-keeping of their families. Parliament speedily passed the Criminal Lunatics Act 1800 to provide for the indefinite detention of insane defendants. Hadfield later inspired further use of pleading insanity several years later during the case of Colonel Edward Despard. Hadfield was detained in Bethlem Royal Hospital for the rest of his life, save for a short period when he escaped. He was recaptured at Dover attempting to flee to France and was briefly held at Newgate Prison before being transferred to the newly opened criminal department at Bethlem. He died there of tuberculosis in 1841.
Fictional accounts of Hadfield's life
Hadfield's story is depicted in the BBC TV period legal drama series in episode 1 of the third series of Garrow's Law, in which William Garrow is portrayed as his barrister - however several changes were made from the generally accepted historical facts. James Hadfield is also a character in the final season of period drama Poldark where he is played by Andrew Gower.