During apartheid, armed SADF troops were used in quelling opposition to minority rule, often directly supporting the South African Police. South African military units were involved in the long-running Mozambican and Angolan civil wars, frequently supporting Pretoria's allies, the Mozambican National Resistance (RENAMO) and the National Union for the Total Independence of Angola (UNITA). SADF personnel were also deployed during the related South African Border War.