How and why was the country of Canada created?

For two generations these colonies developed separately. The British also maintained colonies in Newfoundland, Prince Edward island, the western plains, and the Pacific Coast. The colonies viewed themselves as different from other parts of the British Empire. Therefore, the British Parliament created the Dominion of Canada in 1867.