The apartheid system in South Africa legally enforced racial segregation and white minority rule between 1948 and 1994. Non-white South Africans, who made up the majority of the population, were classified into separate racial groups and forced to live in segregated areas. They were also restricted in terms of jobs and education. Opposition to apartheid grew through non-violent protests and strikes, but the government violently cracked down on dissent. International sanctions in the 1980s increased pressure on the apartheid government, which began reforms and held multiracial elections in 1994, bringing the apartheid system to an end.