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 Northern Ireland government being formed. The DUP has been strongly associated with opposition to LGBT rights since its establishment in 1971 by Ian Paisley, who also founded the fundamentalist Free Presbyterian Church of Ulster. Paisley and the DUP spearheaded the Save Ulster from Sodomy campaign during the 1970s to oppose efforts to decriminalise homosexuality in Northern Ireland. The influence of the Free Presbyterian Church over DUP policies has been described as leading to a theocratic regime in Northern Ireland. 30.6% of DUP members are Free Presybyterians compared to 0.6% of the overall Northern Ireland population. In 2016 DUP leader Arlene Foster promised