<human>:  How many years did apartheid last in South Africa?
<bot>: Apartheid in South Africa lasted from 1948 until 1994. It was a system of racial segregation that separated the races in South Africa. It was also called the 'apartness system'. The apartness system was created by the National Party, and it was used to keep the black population under control. It was also used to keep the white population happy, and to prevent them from getting involved in politics. It was a system that was very oppressive and very racist.