Apartheid was a system of racial segregation in South Africa enforced through legislation by the National Party (NP) governments, the ruling party from 1948 to 1994, under which the rights, associations, and movements of the majority black inhabitants were curtailed and Afrikaner minority rule was maintained.