A federation of colonies in British North America - New Brunswick, Nova Scotia, Quebec, and Ontario - joined together to become the Dominion of Canada on July 1, 1867.
Canada became entirely self-governing within the British Empire in 1931, though full legislative independence was not achieved until 1982, when Canada obtained the right to amend its own constitution.