Alan Turing was a British mathematician who made seminal contributions to computer science but was not widely known during his lifetime. He developed concepts fundamental to modern computing and helped crack Nazi codes during World War II, shortening the war by some estimates. However, Turing was prosecuted for his homosexuality, then illegal, and died in 1954 at age 41 from cyanide poisoning. The British government later apologized for his prosecution.