Same-sex marriage in Alberta has been legal since July 20, 2005 upon the granting of royal assent to the federal Civil Marriage Act. Alberta was one of the four Canadian provinces and territories where same-sex marriage had not been legalised prior to the enactment of the Civil Marriage Act, along with Prince Edward Island, the Northwest Territories and Nunavut.