Canada was formed in 1867 through the confederation of four British colonies. On July 1, 1867, the British North America Act established Canada as an independent country. Canada has two official languages, English and French. The capital of Canada is Ottawa. Canada has a parliamentary democracy and is a constitutional monarchy with Queen Elizabeth II as head of state.