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
Legal status of homosexuality in Brazil Legal status of homosexuality in Brazil During the Portuguese colonization of Brazil, homosexuality was illegal in the country between 1533 and 1830, due to the imposition of the Portuguese Penal Code, which was influenced by the British Buggery Act 1533. In 1830, eight years after the end of the Portuguese domain, sodomy laws were eliminated from the new Penal Code of Brazil. After the French overseas territories located in the Americas, Brazil was the first country in the New World and Southern Hemisphere to legalize homosexuality. Today in South America only Guyana, a former British colony, considers homosexuality illegal. Since