The Constitution is a document that outlines Canada's rules and principles. It recognizes Canada as a federal state, meaning there are provincial and federal governments. It was originally signed as the British North America Act in 1867, which established Canada as a nation. It was rewritten in 1982 as the Canada Act, mostly by John A. MacDonald, and it contained a notwithstanding clause which allowed many provinces to opt out of certain aspects if need be.