After the successful American War of Independence, the 1783 Treaty of Paris recognized the independence of the newly formed United States and set the terms of peace, ceding British North American territories south of the Great Lakes and east of the Mississippi River to the new country. The American war of independence also caused a large out-migration of Loyalists, the settlers who had fought against American independence. Many moved to Canada, particularly Atlantic Canada, where their arrival changed the demographic distribution of the existing territories. New Brunswick was in turn split from Nova Scotia as part of a reorganization of Loyalist settlements in the Maritimes, which led to the incorporation of Saint John, New Brunswick, as Canada's first city. To accommodate the influx of English-speaking Loyalists in Central Canada, the ''Constitutional Act'' of 1791 divided the province of Canada into French-speaking Lower Canada (later Quebec) and English-speaking Upper Canada (later Ontario), granting each its own elected legislative assembly.