Apartheid was the legal and administrative system of racial classification and segregation introduced by the National Party after its 1948 election victory in South Africa. It restricted Black, Coloured and Indian people's residence, movement, education, employment and political rights, created Bantustans and imposed pass laws, while reserving power and land for the white minority. Resistance ranged from the African National Congress and the 1955 Freedom Charter to the 1976 Soweto uprising, trade unions, churches and international campaigns; the state responded with repression and states of emergency, and the UN and many countries imposed sanctions. Negotiations began after 1990, when Nelson Mandela was released; the first universal elections in 1994 ended apartheid and inaugurated democratic rule. Its legacies shape inequality and politics in present-day South Africa and the wider freedom struggles of the continent.