A system of institutionalized racial segregation and discrimination in South Africa that lasted from 1948 to 1994.