After being married for 11 years, Wilde had left his wife and began having a homosexual affair with Alfred Douglas. In May 1895, Wilde was prosecuted and imprisoned for homosexuality under the terms of the Criminal Law Amendment Act. He served two years in Old Bailey in London. Regrettable, his mother died while he was still in jail.