The Second Anglo-Boer War (1899–1902) was a major conflict between the British Empire and the Boer republics of the South African Republic (Transvaal) and the Orange Free State, rooted in imperial rivalry, economic interests, and competing political visions in southern Africa. The discovery of gold in the Witwatersrand (1886) intensified tensions, as British authorities sought greater influence over the region while Boer leaders aimed to preserve independence. War broke out in 1899 during the reign of Queen Victoria (reign 1837–1901), with early Boer successes reflecting mobility, local knowledge, and effective use of defensive tactics against a numerically superior but initially unprepared imperial force.

By 1900, British strategy shifted under commanders such as Lord Kitchener, combining large-scale troop deployments with scorched-earth tactics and the systematic use of concentration camps to break Boer resistance. The conflict entered a prolonged guerrilla phase, in which Boer commandos continued to resist despite mounting losses and civilian hardship. The war concluded with the Treaty of Vereeniging (1902), which brought the Boer republics under British control while promising eventual self-government. The conflict had lasting consequences, reshaping political structures in southern Africa, deepening racial inequalities, and laying foundations for the later formation of the Union of South Africa (1910).