Before its colonization by Europeans, Ivory Coast was home to several states, including Gyaaman, the Kong Empire and Baoulé. The area became a protectorate of France in 1843 and was consolidated as a French colony in 1893 amid the European scramble for Africa. It achieved independence in 1960, led by Félix Houphouët-Boigny, who ruled the country until 1993. Relatively stable by regional standards, Ivory Coast established close political and economic ties with its West African neighbours while at the same time maintaining close relations to the West, especially France. Its stability took a hit by a coup d'état in 1999 and two civil wars, first between 2002 and 2007 and again during 2010–2011. In 2000, the country adopted a new constitution.