The Republic of South Africa is a country located at the southern tip of Africa, with a 2,798 kilometres (1,739 mi) coastline on the Atlantic and Indian Oceans. To the north lie Namibia, Botswana and Zimbabwe; to the east are Mozambique and Swaziland; while Lesotho is an independent country wholly surrounded by South African territory.
Modern humans have inhabited Southern Africa for more than 100,000 years. At the time of European contact, the dominant indigenous peoples were tribes who had migrated from other parts of Africa about one thousand years before. From the 4th-5th century CE, Bantu-speaking tribes had steadily moved south, where they displaced, conquered and assimilated original Khoikhoi and San peoples of southern Africa. At the time of European contact, the two major groups were the Xhosa and Zulu peoples.