<P> Capital punishment in the United Kingdom was used from ancient times until the second half of the 20th century . The last executions in the United Kingdom were by hanging, and took place in 1964, prior to capital punishment being abolished for murder (in 1965 in Great Britain and in 1973 in Northern Ireland). Although unused, the death penalty remained a legally defined punishment for certain offences such as treason until it was completely abolished in 1998 . In 2004 the 13th Protocol to the European Convention on Human Rights became binding on the United Kingdom, prohibiting the restoration of the death penalty for as long as the UK is a party to the Convention . </P> <P> Sir Samuel Romilly, speaking to the House of Commons on capital punishment in 1810, declared that "(there is) no country on the face of the earth in which there (have) been so many different offences according to law to be punished with death as in England". Known as the "Bloody Code", at its height the criminal law included some 220 crimes punishable by death, including "being in the company of Gypsies for one month", "strong evidence of malice in a child aged 7--14 years of age" and "blacking the face or using a disguise whilst committing a crime". Many of these offences had been introduced to protect the property of the wealthy classes that emerged during the first half of the 18th century, a notable example being the Black Act of 1723, which created 50 capital offences for various acts of theft and poaching . Crimes eligible for the death penalty included shoplifting and stealing sheep, cattle, and horses, and before abolition of the death penalty for theft in 1832, "English law was notorious for prescribing the death penalty for a vast range of offenses as slight as the theft of goods valued at twelve pence ." </P>

When was the death sentence abolished in the uk