What helped to end apartheid in South Africa?

AN oil embargo helped end apartheid in South Africa. Another thing that helped end apartheid was that in 1991 the South African government repealed apartheid laws.