Apartheid was an official policy of racial segregation and discrimination enforced by the white minority government in South Africa from 1948 to 1994. Jim Crow laws segregated races in the United States, while nationalism and nativism are broader political ideologies.