<human>:  How many years did apartheid last in South Africa?
<bot>: Apartheid was a policy of racial segregation in South Africa, and lasted from 1948 to 1994. It was a system of legalized discrimination against non-whites in the country, and was enforced by the South African government through legislation, violence, and economic sanctions. It is estimated that between 10 and 15 million people died as a result of the policy.