New Brunswick was first inhabited by First Nations like the Miꞌkmaq and Maliseet. In 1604, Acadia, the first New France colony, was founded with the creation of Port-Royal. For 150 years afterwards, Acadia changed hands a few times due to numerous conflicts between France and the United Kingdom. From 1755 to 1764, the British deported Acadians en masse, an event known as the Great Upheaval. This, along with the Treaty of Paris, solidified Acadia as British property. In 1784, following the arrival of many loyalists fleeing the American Revolution, the colony of New Brunswick was officially created, separating it from what is now Nova Scotia. In the early 1800s, New Brunswick prospered and the population grew rapidly. In 1867, New Brunswick decided to confederate with Nova Scotia and the Province of Canada (now Quebec and Ontario) to form Canada. After Confederation, shipbuilding and lumbering declined, and protectionism disrupted trade with New England.