Apartheid was a system of racial segregation enforced through legislation by the National Party governments, who were the ruling party from 1948 to 1994, of South Africa, under which the rights of the majority black inhabitants of South Africa were curtailed and white supremacy and Afrikaner minority rule was maintained