From a political standpoint, it was difficult for leaders of democratic countries to condone Apartheid. Within their own countries, there had been a push for equality and equal rights. Citizens in these countries put pressure on their leaders to demand change.
Economically various countries threatened to boycott products produced in South Africa and as such exerted economic influence to try to get the policy of Apartheid to end.