Cape Town is a coastal city in South Africa. It is the second-most populous urban area in South Africa after Johannesburg. It is also the capital and primate city of the Western Cape province.
The discovery of diamonds in Griqualand West in 1867, and the Witwatersrand Gold Rush in 1886, prompted a flood of immigrants to South Africa. Conflicts between the Boer republics in the interior and the British colonial government resulted in the Second Boer War of 1899–1902, which Britain won. In 1910, Britain established the Union of South Africa, which unified the Cape Colony with the two defeated Boer Republics and the British colony of Natal. Cape Town became the legislative capital of the Union, and later of the Republic of South Africa.
In the 1948 national elections, the National Party won on a platform of apartheid (racial segregation) under the slogan of “swart gevaar”. This led to the erosion and eventual abolition of the Cape’s multiracial franchise, as well as to the Group Areas Act, which classified all areas according to race. Formerly multi-racial suburbs of Cape Town were either purged of unlawful residents or demolished. The most infamous example of this in Cape Town was District Six. After it was declared a whites-only region in 1965, all housing there was demolished and over 60,000 residents were forcibly removed.] Many of these residents were relocated to the Cape Flats and Lavender Hill. Under apartheid, the Cape was considered a “Coloured labour preference area”, to the exclusion of “Bantus”, i.e. Africans.