blacks, and the Boers expressed anger that their impoverished republics had missed out on the economic benefits of the mines. The Anglo-Boer Wars First Anglo-Boer War Long-standing Boer resentment turned into full-blown rebellion in the Transvaal (under British control from 1877), and the first Anglo-Boer War, known to Afrikaners as the "War of Independence", broke out in 1880. The conflict ended almost as soon as it began with a crushing Boer victory at Battle of Majuba Hill (27 February 1881). The republic regained its independence as the Zuid-Afrikaansche Republiek ("South African Republic"), or ZAR. Paul Kruger, one of the leaders of the uprising, became President of the ZAR in 1883. Meanwhile, the British, who viewed their defeat at Majuba as an aberration, forged ahead with their desire to federate the Southern African colonies and republics. They saw this as the best way to come to terms with the fact of a white Afrikaner majority, as well as to promote their larger strategic interests in the area. Inter-war period In 1879, Zululand came under British control. Then in 1886, an Australian prospector discovered gold in the Witwatersrand, accelerating the federation process and dealing the Boers yet another blow. Johannesburg's population exploded to about 100,000 by the mid-1890s, and the ZAR suddenly found itself hosting thousands of uitlanders, both black and white, with the Boers squeezed to the sidelines. The influx of English labour in particular worried the Boers, many of whom resented the English miners. The enormous wealth of the mines, soon became irresistible for British imperialists. In 1895, a group of renegades led by Captain Leander Starr Jameson entered the ZAR with the intention of sparking an uprising on the Witwatersrand and installing a British administration. This incursion became known as the Jameson Raid. The scheme ended in fiasco, but it seemed obvious to Kruger that it had at least the tacit approval of the Cape Colony government, and that his republic faced danger. He reacted by forming an alliance with Orange Free State. Second Anglo-Boer War The situation peaked in 1899, when the British demanded voting rights for the 60,000 foreign whites on the Witwatersrand. Until that point, Kruger's government had excluded all foreigners from the franchise. Kruger rejected the British demand and called for the withdrawal of British troops from the ZAR's borders. When the British refused, Kruger declared war. This Second Anglo-Boer War lasted longer, and the