Apartheid was a system of racial segregation in South Africa enforced through legislation by the National Party (NP), the governing party from 1948 to 1994. Under apartheid, the rights, associations, and movements of the majority black inhabitants and other ethnic groups were curtailed, and white minority rule was maintained.