Under apartheid, South Africa segregated black South Africans from their white counterparts, leading to the systematic discrimination of the non-white population. The first free elections were held in 1994.