Angola is a country in southwestern Africa. The country's name derives from the Kimbundu word for king. It was first settled by San hunter-gatherer societies before the northern domains came under the rule of Bantu states such as Kongo and Ndongo. From the 15th century, Portuguese colonists began trading, and a settlement was established at Luanda during the 16th century. Portugal annexed territories in the region which were ruled as a colony from 1655, and Angola was incorporated as an overseas province of Portugal in 1951. After the Angolan War of Independence, which ended in 1974 with an army mutiny and leftist coup in Lisbon, Angola achieved independence in 1975 through the Alvor Agreement. A few months before independence, Angola entered a period of civil war that lasted until 2002.