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
LGBT rights in Australia states and territories gradually repealed their sodomy laws as support for gay law reform grew. South Australia was the first jurisdiction to decriminalise male homosexual activity on 17 September 1975, with the Australian Capital Territory's decriminalisation, first proposed in 1973, approved by the Fraser Federal Government with effect from 4 November 1976. Victoria followed on 23 December 1980, although a "soliciting for immoral purposes" provision added by conservatives saw police harassment continue in that state for some years. Other jurisdictions to decriminalise male homosexuality were the Northern Territory (effective 4 October 1983), New South Wales (22 May 1984) and (after