The Union of South Africa was the historical predecessor to the present-day Republic of South Africa. It came into existence on 31 May 1910 with the unification of the Cape, Natal, Transvaal, and Orange River colonies. It included the territories that were formerly part of the South African Republic and the Orange Free State.
Following World War I, the Union of South Africa was a signatory of the Treaty of Versailles and became one of the founding members of the League of Nations. It was mandated by the League with the administration of South West Africa (now known as Namibia). South West Africa became treated in most respects as another province of the Union, but it never was formally annexed.
The Union of South Africa was a self-governing dominion of the British Empire. Its full sovereignty was confirmed with the Balfour Declaration of 1926 and the Statute of Westminster 1931. It was governed under a form of constitutional monarchy, with the Crown being represented by a governor-general. The Union came to an end with the enactment of the constitution of 1961, by which it became a republic and left the Commonwealth of Nations. The Republic of South Africa rejoined the Commonwealth on 1 June 1994.