South Africa has three capital cities, Pretoria, Bloemfontein and Cape Town. Each of these cities holds one branch of the government.
Pretoria, located in the northeastern part of the country, is home to the executive and administrative areas of the government. Bloemfontein, which is more centrally located, is where the judicial branches of the government can be found. Cape Town, which is on the west coast, is home to the legislative branch of the government. It is very common for the largest town in a country to be the capital, but that is not the case in South Africa. Johannesburg, the largest city by population, is only the capital of the province it is located in.