
Alan Turing committed suicide on 7 June 1954, by eating an apple poisoned with cyanide.
Alan Turing's idea of creating a machine to turn thought processes into binary numbers was one of the main turning points in the history of the computer and his experiments are credited with helping Britain win World War II by deciphering encrypted German communications.
Although he was a brilliant man the social values of 1950s Britain would not accept his sexuality, and he was taken to court because he was gay, because homosexuality was illegal at that time.