Saint Lucia was inhabited by the Arawak and Kalinago Caribs before European contact in the early 16th century. It was colonized by the British and French in the 17th century and was the subject of several possession changes until 1814, when it was ceded to the British by France for the final time. In 1958, St. Lucia joined the short-lived semi-autonomous West Indies Federation. Saint Lucia was an associated state of the United Kingdom from 1967 to 1979 and then gained full independence on February 22, 1979.