The Republic of South Africa (also known by other official names) is a country located at the southern tip of Africa. South Africa's coast stretches 2,798 kilometres and borders both the Atlantic and Indian oceans. To the north of South Africa lies Namibia, Botswana, Zimbabwe, Mozambique and Swaziland, while the Kingdom of Lesotho is an independent enclave surrounded by South African territory .
Modern human beings have inhabited South Africa for more than 100,000 years. However, with the discovery of the Cape Sea Route, the Dutch East India Company founded a refreshment station at what would become Cape Town in 1652. Cape Town became a British colony in 1806. European settlement expanded during the 1820s as the Boers (original Dutch settlers) and the British 1820 Settlers claimed land in the north and east of the country. Conflicts arose between the original inhabitants of the land, the Xhosa and Zulu, and the new European settlers. However, the discovery of diamonds and later gold triggered the conflict known as the Anglo-Boer War as the Boers and the British fought for the control of South Africa's mineral wealth. Although the Boers were defeated, limited independence was given to South Africa in 1910 as a British dominion. Anti-British policies focused on ultimate independence which was achieved in 1961 when South Africa was declared a republic. The leading National Party legislated segregation known as apartheid despite opposition both in and outside of the country. In 1990 the then president F.W. de Klerk began to dismantle this legislation, and in 1994 the first democratic election was held in South Africa. This election brought Nelson Mandela and the current ruling party, the African National Congress to power.
South Africa is known for its diversity, and eleven official languages are recognised in its constitution. English is the most commonly spoken language in official and commercial public life, however it is only the fifth most spoken home language. South Africa is ethnically diverse, with the largest Caucasian, Indian, and racially mixed communities in Africa. Although 79.5% of South Africa's population is Black, this category is neither culturally nor linguistically homogenous, as nine of the official languages are African. In 2006, South Africa's population was estimated at 47.4 million people.