“Marching to Pretoria” refers to the British military campaign culminating in the capture of Pretoria, capital of the South African Republic (ZAR), on June 5, 1900, during the Second Boer War (1899–1902).
The war pitted the British Empire against the Boer republics (ZAR and Orange Free State) over political rights for British settlers (Uitlanders), mineral wealth, and regional control.
The capture symbolized British imperial confidence but did not end the war. Boer forces switched to guerrilla warfare, prolonging the conflict until the 1902 Treaty of Vereeniging, which annexed the republics into the British Empire.
The phrase “Marching to Pretoria” became emblematic of British military strategy and the broader imperial project in southern Africa.