Most Americans know how the United States was formed.

But what about Canada and its Provinces?

The process is known as the Canadian Confederation.

This is how the British colonies of Canada, Nova Scotia, and New Brunswick were united into one Dominion of Canada on July 1, 1867. Upon confederation, the old province of Canada was divided into Ontario and Quebec; along with Nova Scotia and New Brunswick, the new federal state was thus composed of four provinces. Over the years since Confederation, Canada has seen numerous territorial changes and expansions, resulting in the current configuration of ten provinces and three territories.

Canada is a federation and not a confederate association of sovereign states, which "confederation" means in contemporary political theory. It is nevertheless often considered to be among the world's more decentralized federations. The use of the term Confederation arose in the Province of Canada to refer to proposals beginning in the 1850s to federate all of the British North American colonies, as opposed to only Canada West (Ontario) and Canada East (Quebec). To contemporaries of Confederation the con- prefix indicated a strengthening of the centrist principle compared to the American federation.

More Info: en.wikipedia.org