Heidelberg has played an important part in South African history acting as a capital for the Boer republic during the war with Great Britain. During the First War of Independence, Heidelberg served as capital of the Zuid Afrikaansche Republiek under the Triumvirate of Paul Kruger, P.J. Joubert and M.W. Pretorius, from 1880 to 1883.