Which country has three different cities functioning as legislative, administrative and judical capitals?

Germany
4102
Canada
6860
South Africa
18885
Russia
1856
The administrative capital of South Africa is Pretoria, the legislative capital is Cape Town, and the judicial capital is Bloemfontein. This is the outcome of the compromise that created the Union of South Africa in 1910.
correct this question
globalquiz.org
reach: rather globalcapitalscitiescountriesgeography