The Civil Marriage Act (full title: "An Act respecting certain aspects of legal capacity for marriage for civil purposes") was legislation legalizing same-sex marriage across Canada. At the time the bill became law, same-sex marriage had already been legalized by court decisions in all Canadian provinces except Alberta and Prince Edward Island, as well as in the territories of Nunavut and the Northwest Territories.