After the National Party gained power in South Africa in 1948, its all-white government immediately began enforcing existing policies of racial segregation under a system of legislation that it called apartheid. ... de Klerk began to repeal most of the legislation that provided the basis for apartheid.