 Libya provided funding and support to South African anti-apartheid movements.as well as military training to ANC combatants.After the legalisation of the ANC, then ANC leader Nelson Mandela visited Gaddafi in Libya in May 1990 to thank him for Libya's assistance.