The islands which now form the Republic of Kiribati have been inhabited for at least seven hundred years, and possibly much longer. The initial Austronesian peoples’ population, which remains the overwhelming majority today, was visited by Polynesian and Melanesian invaders before the first European sailors visited the islands in the 17th century. For much of the subsequent period, the main island chain, the Gilbert Islands, was ruled as part of the British Empire. The country gained its independence in 1979 and has since been known as Kiribati.