South Africa has three capitals – one for each branch of the government: Pretoria (executive), Bloemfontein (judicial), and Cape Town (legislative). Unlike most countries, it does not have a legally defined capital city.