Answer:
The Republic of South Africa has three capitals:
Pretoria, often treated as the single capital, is home to the executive branch of government (including the President).
Cape Town is home to the Assembly and the Supreme Court is located in Bloemfontein.
Although Johannesburg is the commercial center of the country, is not actually one of the capital cities.
Pre - 1994, South Africa was divided into four provinces: Transvaal where Pretoria is located; Orange Free State, Bloemfontein; Cape where Cape Town is located. Natal was the only province without a capital city, Durban being the major city and the largest and busiest seaport in South Africa.
Quoting wikipedia: "South Africa has three capital cities: Cape Town, the largest of the three, is the legislative capital; Pretoria is the administrative capital; and Bloemfontein is the judicial capital. South Africa has a bicameral parliament: the National Council of Provinces (the upper house) has 90 members, while the National Assembly (the lower house) has 400 members."