However in 1952 he was convicted of 'gross indecency,' which basically was what you were charged with if you were arrested for being gay. He was chemically castrated and had all his security clearance removed. He committed suicide two years later. There had been moves to get a pardon. However Ministers had previously argued that they would not be able to go any further than the apology given by Gordon Brown in 2009, because “gross indecency”, which Turing was found guilty of in 1952, was at the time a criminal offence.
Now Government Whip Lord Ahmad of Wimbledon said the coalition would not stand in the way of a Bill brought by Liberal Democrat peer Lord Sharkey, which offers Turing a full posthumous parliamentary pardon. Lord Ahmad said: “Alan Turing himself believed that homosexual activity would be made legal by a Royal Commission.
"The Government therefore is very aware of the cause to pardon Turing given his outstanding achievement and has great sympathy with the objective of the Bill,” he said. Lord Sharkey who was taught mathematics at university by Turing's close friend Robin Gandy, said: "The Government knows that Turing was a hero and a very great man…. they acknowledge that he was cruelly treated.”