South Africa has three cities that serve ascapitals: Pretoria (executive), Cape Town (legislative), and Bloemfontein (judicial). Johannesburg, the largest urban area in the country and a centre of commerce, lies at the heart of the populous Gauteng province.