Internal resistance to apartheid
Several independent sectors of South African society opposed apartheid through various means, including nonviolent resistance, guerrilla warfare and terrorism. Mass action against the ruling National Party (NP) government, coupled with South Africa's growing international isolation and economic sanctions, were instrumental in leading to negotiations to end apartheid, which began formally in 1990 and ended with South Africa's first multiracial elections under a universal franchise in 1994.
Source: Wikipedia — Internal resistance to apartheid (CC BY-SA 4.0)