Apartheid (South African English: ; Afrikaans: [aˈpartɦəit], segregation; lit. "separateness") was a system of institutionalised racial segregation that existed in South Africa and South West Africa (Namibia) from 1948 until the early 1990s. Apartheid was characterised by an authoritarian political culture based on baasskap (or white supremacy), which ensured that South Africa was dominated politically, socially, and economically by the nation's minority white population. According to this system of social stratification, white citizens had the highest status, followed in descending order by Asians, Coloureds, and black Africans. The economic legacy and social effects of apartheid continue to the present day.
Broadly speaking, apartheid was delineated into petty apartheid, which entailed the segregation of public facilities and social events, and grand apartheid, which dictated housing and employment opportunities by race. Prior to the 1940s, some aspects of apartheid had already emerged in the form of minority rule by white South Africans and the socially enforced separation of black Africans from other races, which later extended to pass laws and land apportionment. Apartheid was adopted as a formal policy by the South African government after the election of the National Party (NP) at the 1948 general election.
A codified system of racial stratification began to take form in South Africa under the Dutch Empire in the late-eighteenth century, although informal segregation was present much earlier due to social cleavages between Dutch colonists and a creolised, ethnically diverse slave population. With the rapid growth and industrialisation of the British Cape Colony in the nineteenth century, racial policies and laws became increasingly rigid. Cape legislation that discriminated specifically against black Africans began appearing shortly before 1900. The policies of the Boer republics were also racially exclusive; for instance, the Transvaal's constitution barred black African and Coloured participation in church and state.
The first apartheid law was the Prohibition of Mixed Marriages Act, 1949, followed closely by the Immorality Amendment Act of 1950, which made it illegal for most South African citizens to marry or pursue sexual relationships across racial lines. The Population Registration Act, 1950 classified all South Africans into one of four racial groups based on appearance, known ancestry, socioeconomic status, and cultural lifestyle: "Black", "White", "Coloured", and "Indian", the last two of which included several sub-classifications. Places of residence were determined by racial classification. Between 1960 and 1983, 3.5 million Non-White South Africans were removed from their homes and forced into segregated neighbourhoods, in one of the largest mass evictions in modern history. Most of these targeted removals were intended to restrict the black African population to ten designated "tribal homelands", also known as bantustans, four of which became nominally independent states. The government announced that relocated persons would lose their South African citizenship as they were absorbed into the bantustans.
Apartheid sparked significant international and domestic opposition, resulting in some of the most influential global social movements of the twentieth century. It was the target of frequent condemnation in the United Nations and brought about an extensive arms and trade embargo on South Africa. During the 1970s and 1980s, internal resistance to apartheid became increasingly militant, prompting brutal crackdowns by the National Party government and protracted sectarian violence that left thousands dead or in detention. Some reforms of the apartheid system were undertaken, including allowing for Indian and Coloured political representation in parliament, but these measures failed to appease most activist groups.
Between 1987–1993, the National Party entered into bilateral negotiations with the African National Congress (ANC), the leading anti-apartheid political movement, for ending segregation and introducing majority rule. In 1990, prominent ANC figures such as Nelson Mandela were released from prison. Apartheid legislation was repealed on 17 June 1991, pending multiracial elections held under a universal suffrage set for April 1994.