Under new legislation, thousands of gay and bisexual men will receive posthumous pardons from the UK government. Dubbed the "Alan Turing Law," an amendment to the Policing and Crime Bill will rectify old convictions for consensual same-sex relationships, which were decriminalised in England and Wales in 1967. The policy builds on the case of Alan Turing, a brilliant cryptographer who helped Britain and the Allied Powers decode messages during World War II. Turing was prosecuted in 1952 for homosexual acts and died in 1954 from cyanide poisoning. In 2009, the British government officially apologised for his treatment, before a posthumous pardon was granted by Queen Elizabeth II in 2013.