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 medieval Europe all the other sins. For example, during the eighth century, Pope Gregory III gave penances of 160 days for lesbian-like acts and usually one year for males who committed homosexual acts. During the Inquisition itself, it is unlikely that people were brought up for homosexual behavior alone; it was usually for publicly challenging the Church's stance against homosexuality. Those who did not back down would be severely punished. As time went on, punishments for homosexual behavior became harsher. In the thirteenth century, in areas such as France, homosexual behavior between men resulted in castration on the first offense, dismemberment on