(AP) UK finally pardons computer pioneer Alan Turing
By RAPHAEL SATTER
Associated Press
LONDON
His code breaking prowess helped the Allies outfox the Nazis, his theories laid the foundation for the computer age, and his work on artificial intelligence still informs the debate over whether machines can think.

But Alan Turing was gay, and 1950s Britain punished the mathematician’s sexuality with a criminal conviction, intrusive surveillance and hormone treatment meant to extinguish his sex drive.

Now, nearly half a century after the war hero’s suicide, Queen Elizabeth II has finally granted Turing a pardon.

The pardon has been a long time coming.

Turing’s contributions to science spanned several disciplines, but he’s perhaps best remembered as the architect of the effort to crack the Enigma code, the cypher used by Nazi Germany to secure its military communications. Turing’s groundbreaking work _ combined with the effort of cryptanalysts at Bletchley Park near Oxford and the capture of several Nazi code books _ gave the Allies the edge across half the globe, helping them defeat the Italians in the Mediterranean, beat back the Germans in Africa and escape enemy submarines in the Atlantic.

Even before the war, Turing was formulating ideas that would underpin modern computing, ideas which matured into a fascination with artificial intelligence and the notion that machines would someday challenge the minds of man. When the war ended, Turing went to work programing some of the world’s first computers, drawing up _ among other things _ one of the earliest chess games.

Turing made no secret of his sexuality, and being gay could easily lead to prosecution in post-war Britain. In 1952, Turing was convicted of “gross indecency” over his relationship with another man, and he was stripped of his security clearance, subjected to monitoring by British authorities, and forced to take estrogen to neutralize his sex drive _ a process described by some as chemical castration.

S. Barry Cooper, a University of Leeds mathematician who has written about Turing’s work, said future generations would struggle to understand the code breaker’s treatment.

Depressed and angry, Turing committed suicide in 1954.

Turing’s legacy was long obscured by secrecy _ “Even his mother wasn’t allowed to know what he’d done,” Cooper said. But as his contribution to the war effort was gradually declassified, and personal computers began to deliver on Turing’s promise of “universal machines,” the injustice of his conviction became ever more glaring. Then-Prime Minister Gordon Brown issued an apology for Turing’s treatment in 2009, but campaigners kept pressing for a formal pardon.

One of them, British lawmaker Iain Stewart, told The Associated Press he was delighted with the news that one had finally been granted.