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 Tonga years imprisonment. The offenders may also be whipped as a punishment if convicted. Male rape is also illegal in Tonga: In late 2016, the Tonga Leitis Association, an LGBT advocacy group, launched a national consultation with governments officials in order to decriminalise homosexuality and cross-dressing. According to the Attorney General, there have, as of 2016, never been any sodomy convictions on consensual same-sex activity. Tonga does not recognize same-sex unions in any form. Tongan society is very socially conservative and highly religious. In addition, it has recently seen a rise in fundamentalism and religious fanaticism, which has been associated with