<P> In 1823 the Judgement of Death Act 1823 made the death penalty discretionary for all crimes except treason and murder . Gradually during the middle of the nineteenth century the number of capital offences was reduced, and by 1861 was down to five . The last execution in the UK took place in 1964, and the death penalty was legally abolished in the following years: </P> <Ul> <Li> Murder, temporarily from 1965, permanently from 1969, in Northern Ireland from 1973 </Li> <Li> Arson in a naval dockyard, 1971 </Li> <Li> Espionage, 1981 </Li> <Li> Piracy, 1998 </Li> <Li> High treason, 1998 </Li> </Ul> <Li> Murder, temporarily from 1965, permanently from 1969, in Northern Ireland from 1973 </Li> <Li> Arson in a naval dockyard, 1971 </Li>

When was the bloody code introduced and abolished