Capital punishment in the United Kingdom espionage from "all spies for the enemy" to spies on naval ships or bases. Later, the Armed Forces Act 1981 abolished the death penalty for espionage. (The Official Secrets Act 1911 had created another offence of espionage which carried a maximum sentence of fourteen years.) Beheading was abolished as a method of execution for treason in 1973. Hanging, however, remained available until 1998 when, under a House of Lords amendment to the Crime and Disorder Act 1998, proposed by Lord Archer of Sandwell, the death penalty was abolished for treason and piracy with violence, replacing it with a discretionary maximum
Treason in the Republic of Ireland abolished until the Statute Law Revision Act 1983, but were incompatible with the 1937 constitution. The Treason Act 1939 gave legislative effect to Article 39, and provided for the imposition of the death penalty on persons convicted of committing treason within the state and on citizens convicted of committing treason against Ireland outside of the state. The Act also created the ancillary offences of encouraging, harbouring and comforting persons guilty of treason, and the offence of misprision of treason. No person has been charged under this Act. The Criminal Justice Act 1964 abolished capital punishment in the Republic of Ireland