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
History of homosexuality in American film curtail additional government censorship and to prevent the loss of revenue from boycotts led by the Catholic Church and fundamentalist Protestant groups, whom had wanted to judge the moral impact of cinematic Hollywood on the general public. In terms of homosexuality, the code marked the end of the "pansy" characters and the beginning of depictions that were more reserved and buried within subtext. While the code did not explicitly state homosexuality as against the code, the code stated no kind of sex perversion, which homosexuality fell under at the time, labeling them as sexual deviants. Despite the code stating that