According to google it says" The war ended in surrender and British terms with the Treaty of Vereeniging in May 1902. The British successfully won over the Boer leaders, who now gave full support to the new political system. Both former republics were incorporated into the Union of South Africa in 1910, as part of the British Empire."