The Tanzanian Air Force deployed its F-7As during the Uganda–Tanzania War against Uganda and Libya, fought between 1978 and 1979. Forming a major component of Tanzania's combat aircraft, the type facilitated the defeat of the nominally stronger Uganda Army Air Force during the air campaign.