LONDON, England (CNN) -- An online petition demanding a formal apology from the British government for its treatment of World War II code-breaker Alan Turing is gaining momentum.
Turing was subjected to chemical castration in 1952 after being found guilty of the charge of gross indecency for having a homosexual relationship, an illegal act at the time. He committed suicide two years later.
More than 19,000 people have added their names to the petition on the UK Government Web site since it opened three weeks ago, urging the government to "recognize the tragic consequences of prejudice that ended this man's life and career."
Turing was best known for inventing the Bombe, a code-breaking machine that deciphered messages encoded by German Enigma machines during World War II.
The messages provided the Allies with crucial information from the British government's code-breaking headquarters in Bletchley Park where Turing worked full-time during the war.
He was considered a mathematical genius and went on to develop the Turing machine, a theory that automatic computation cannot solve all mathematical problems, which is considered the basis of modern computing.
However, to avoid a custodial sentence for gross indecency Turing agreed to undergo chemical castration. He was injected with estrogen, an experience that is widely believed to have led to his suicide just two years later. Turing was just 41 when he ended his life by eating an apple laced with cyanide.
-----
If you're a UK citizen ... the petition is here.
interview | Ryker Beck
35 minutes ago




