Between the 1st and 5th centuries AD, Bantu-speaking peoples migrated from farther north and west. Swahili, and later also Arab, commercial ports existed along the coasts until the arrival of Europeans. The area was explored by Vasco da Gama in 1498 and colonized by Portugal in 1505. Mozambique became independent in 1975, and became the People's Republic of Mozambique shortly thereafter. It was the scene of an intense civil war lasting from 1977 to 1992.