Question: who did britain fight in the boer war
Answer: The Second Boer War ( 11 October 1899 -- 31 May 1902 ) was fought between the British Empire and two Boer states , the South African Republic ( Republic of Transvaal ) and the Orange Free State , over the Empire 's influence in South Africa .