After the British were defeated in the Thirteen Colonies, some former Nova Scotian territory in Maine entered the control of the newly independent American state of Massachusetts. British troops from Nova Scotia helped evacuate approximately 30,000 United Empire Loyalists (American Tories), who settled in Nova Scotia, with land grants by the Crown as some compensation for their losses. Of these, 14,000 went to present-day New Brunswick and in response the mainland portion of the Nova Scotia colony was separated and became the province of New Brunswick with Sir Thomas Carleton the first governor on August 16, 1784. Loyalist settlements also led Cape Breton Island to become a separate colony in 1784, only to be returned to Nova Scotia in 1820.