Human: How many years did apartheid last in South Africa? Assistant: 
Apartheid was a system of racial segregation in South Africa. It lasted from 1948 until 1994. It was a system of government that divided the country into separate and unequal areas. It was enforced through legislation, and it was enforced by a series of laws and regulations that made it illegal to marry, move, or even visit someone of another race.