Homosexuality and the Anglican Communion underwent a profound change in regards to homosexuality. The last same-sex attracted person to be sent to prison indefinitely as a "dangerous sex offender" was in 1967. In 1969, the Canadian parliament passed amendments of the Criminal Code, decriminalising homosexuality in Canada. On 20 July 1971, the last gay man criminally convicted because of his sexual orientation was released from prison. A series of judicial rulings beginning in 2003 legalised same-sex marriage in the majority of Canada's provinces, and on 20 July 2005, the Canadian government extended the new definition nationwide by statute. Currently ten Anglican dioceses (Edmonton, Nova Scotia
Homosexuality in India 377 of the Indian penal code, which defines homosexuality as an unnatural act and thus illegal. At the International AIDS Conference in Mexico City, he said, "Section 377 of IPC, which criminalises men who have sex with men, must go." His ministerial portfolio had put him at odds with the Indian Home Minister Shivraj Patil and several other ministers in seeking to scrap Section 377. In late 2008, he changed his argument saying he does not want the scrapping of Section 377 but a mere modification of the law treating homosexuality as a criminal offence punishable up to life imprisonment.