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 Indonesia non-commercial homosexual relations between consenting adults who have reached the age of eighteen years of age. A national bill to criminalize homosexuality, along with cohabitation, adultery and the practice of witchcraft, failed to be enacted in 2003 and no subsequent bill has been reintroduced. However, local governments have been given the option of passing local laws based on traditional Islamic morality. In 2002, the Indonesian Government gave Aceh province the right to introduce Islamic sharia laws which criminalizes homosexuality, albeit only to Muslim residents. In September 2014, Aceh had passed a sharia-based anti-homosexuality law that punishes anyone caught having gay