Meanwhile, there were numerous attempts by European powers to settle Tobago during the 1620-40s, with the Dutch, English and Couronians  (people from the Duchy of Courland and Semigallia, now part of Latvia) all attempting to colonise the island with little success. From 1654 the Dutch and Courlanders managed to gain a more secure foothold, later joined by several hundred French settlers. A plantation economy developed based on the production of sugar, indigo and rum, worked by large numbers of African slaves who soon came to vastly outnumber the European colonists. Large numbers of forts were constructed as Tobago became a source of contention between France, Netherlands and Britain, with the island changing hands some 31 times prior to 1814, a situation exacerbated by widespread piracy. The British managed to hold Tobago from 1762 to 1781, whereupon it was captured by the French, who ruled until 1793 when Britain re-captured the island.