The First Boer War happened in 1880-1881. The war was between the British and the Boers Republics. At that time, the British had the Cape. The Boer Republics were established when Dutch settlers moved north in the Great Trek. The British lost the war and came back 8 years later in 1899. They won this Second Boer War in 1902. The British had brought many more soldiers the second time. The Boers had no chance of winning. On 31 May 1910 the Union of South Africa was made from the Cape and Natal colonies. It was also made from Orange Free State and the Transvaal. These were two Boer Republics.