Dutch farmers migrated to South Africa in the 1700s, seizing land and displacing indigenous groups. Over subsequent decades and centuries, the British and Boers established control over much of the area, implementing racist policies and laws against non-white populations. Resistance to apartheid grew throughout the 20th century from groups like the African National Congress, with defiance campaigns and uprisings met with violent crackdowns. International pressure and economic sanctions against South Africa in the 1980s weakened the apartheid government, and democratic elections were held in 1994 with Nelson Mandela becoming the first black president of South Africa.