In 1843 Britain annexes Natalia and establishes the colony of Natal. During the 19th century Britain introduces elected assemblies and grants africans and coloured who met certain franchise requirements the right to vote. The discovery of diamonds in 1867 leads at the British conquest of the South-African Republic in 1887 as the colony of Transvaal. Independence is restored in 1884. As a result of the Boer Wars between 1899 and 1902 both the Orange Free State and the South-African Republic finally lose their independence. The Orange Free State becomes the Orange River Colony in 1901. The South African Republic becomes the colony of Transvaal in 1902. The Cape Colony merges with Natal, the Orange River Colont and Transvaal into the Dominion called Union of South Africa, a self-governing dominion of the British Empire, in 1910. South Africa becomes a parliamentary state, but the suffrage is limited to whites. Louis Botha of the South Africa Party (SAP) becomes the first prime minoster. In 1912 the South Africa Native National Congress is founded and eventually becomes known as the African National Congress (ANC). Its goals are the elimination of restrictions based on color and the enfranchisement of and parliamentary representation for blacks. Botha is succeeded in 1919 by Jan Christian Smuts. In 1924 the National Party (NP) wins the elections, bring James Barry Munnik Hertzog to the premiership. In 1931 South Africa becomes fully independent. In 1939 the SAP takes over and Smits becomes prime minister again.
Since 1948 South Africa is ruled by the NP and Apartheid, the complete segregation between whites and blacks, becomes the official policy of the state. Under prime ministers Daniel François Malan (1948-1954), Johannes Gerhardus Strijdom (1954-1958), Hendrik Frensch Verwoerd (1958-1966) and Balthazar Johannes Vorster (1966-1978) the apartheid policy develops. After a referendum in 1960 Verwoerd's government establishes the republic, named Republic of South Africa. In the earlu sixties ANC-leader Nelson Rolihlahla Mandela and many other anti-apartheid leaders are convicted and imprisoned on charges of treason. The ANC is forced underground and fights apartheid through guerrilla warfare and sabotage. In In 1976/1988 South Africa establishes the so-called independent republics of Transkei, Ciskei, Bophutatswana and Venda. In 1978 Pieter Willem Botha becomes prime minister. Since 1984 South Africa is a presidential republic and Botha becomes president. In parliament the liberal Progressive Federal Party (PFP) of Helen Suzman forms the opposition against apartheid.
Botha is succeeded in 1989 by Frederik Willem de Klerk. In 1990 De Klerk announces the unbanning of the ANC and other anti-apartheid groups. Mandela is released from prison. In 1991 the last apartheid acts are abolished and a long series of negotiations leads in 1993 to a new constitution. South Africa becomes a non-racial parliamentary democratic state. Transkei, Ciskei, Bophutatswana and Venda are re-incorporated into the country. The elections of 1994 are won by the African National Congress (ANC) and Nelson Mandela becomes president. Mandela concentrates on national reconciliation, tries to forge a single South African identity and sense of purpose among a diverse and splintered populace, riven by years of conflict. In 1999 Mandela steps down and Thabo Mvuyelwa Mbeki is elected president. The main opposition party is the liberal democratic Democratic Alliance (DA, successor of the PFP), the former apartheid party New National Party (NNP) and the Zulu party Inkatha Freedom Party (IFP).