Human: How many years did apartheid last in South Africa? Assistant: 
Apartheid was a policy of racial segregation in South Africa, and lasted from 1948 to 1994. It was ended by the country’s first democratic election in 1994.