Upper Canada was the predecessor of modern-day Ontario. It was created in 1791 by the division of the old Province of Quebec into Lower Canada in the east and Upper Canada in the west. Upper Canada was a wilderness society settled largely by Loyalists and land-hungry farmers moving north from the United States. Upper Canada endured the War of 1812 with America, William Lyon Mackenzie’s Rebellion of 1837, the colonial rule of the Family Compact and half a century of economic and political growing pains. With the Act of Union in 1841, it was renamed Canada West and merged with Lower Canada (Canada East) into the Province of Canada.