|Commanders and leaders|
|70,000+ Ugandan Army troops
3,000 Libyan troops
200+ Palestinian troops
6,000 Ugandan resistance troops
A Mozambican battalion
|Casualties and losses|
|1,500 Tanzanian and 500 Ugandan civilians killed|
|Part of a series on the|
|History of Uganda|
|Part of a series on the|
|History of Tanzania|
|History of Zanzibar|
|Scramble for Africa|
|German East Africa|
|Maji Maji Rebellion|
|East African Campaign|
|British East Africa|
Events leading to the war 
+ Relations between Tanzania and Uganda had been strained for several years before the war started. After Amin seized power in a military coup in 1971, the Tanzanian leader Julius Nyerere offered sanctuary to Uganda's ousted president, Milton Obote. Obote was joined by 20,000 refugees fleeing Amin's attempts to wipe out opposition. A year later, a group of exiles based in Tanzania attempted, unsuccessfully, to invade Uganda and remove Amin. Amin blamed Nyerere for backing and arming his enemies. The relationship between Uganda and Tanzania remained strained for many years.
The Uganda–Tanzania war (usually referred to in Uganda as the Liberation War) was fought between Uganda and Tanzania in 1978–1979, and led to the overthrow of Idi Amin's regime. Idi Amin's forces included thousands of troops sent by Muammar Gaddafi, and some Palestinian support.
The war 
Nyerere mobilized the Tanzania People's Defence Force and counterattacked. In a few weeks, the Tanzanian army was expanded from less than 40,000 troops to over 100,000 including members of the police, prison services, national service, and the militia. The Tanzanians were joined by several anti-Amin groups consisting of Ugandan exiles, who at a conference in Moshi (Moshi Conference) had united as the Uganda National Liberation Army (UNLA). These included Kikosi Maalum commanded by Tito Okello and David Oyite Ojok, FRONASA commanded by Yoweri Museveni, and Save Uganda Movement commanded by Akena p'Ojok, William Omaria, and Ateker Ejalu.
The Tanzanian Army acquired a Russian BM Katyusha rocket launcher (known in Uganda as saba saba), with which they started to fire on targets in Uganda. The Ugandan Army retreated steadily. Libya's Muammar Gaddafi sent 2,500 troops to aid Amin, equipped with T-54 and T-55 tanks, BTR APCs, BM-21 Grad MRLs, artillery, MiG-21s, and a Tu-22 bomber. However the Libyans soon found themselves on the front line, while Ugandan Army units were using supply trucks to carry their newly plundered wealth in the opposite direction.
The Libyan troops were a mix of regular Libyan Army units, People's Militia, and sub-Saharan Africans of the Islamic Legion, a further force created by Libya for this type of expeditionary mission. The Tanzanians, joined by UNLA dissidents, moved north for Kampala but halted at the vast deep-water swamp north of Lukaya. The Tanzanians decided to send the 201st Brigade directly across the causeway over the swamp while the better-quality 208th Brigade skirted the western edge of the swamp as an alternative in case the causeway was blocked or destroyed. A planned attack by a brigade-sized Libyan force with fifteen T-55s, a dozen APCs, and BM-21 MRLs, intended to reach Masaka, instead collided with the Tanzanian force at Lukaya on 10 March and sent the 201st Brigade reeling backwards in disarray. However, a Tanzanian counter-attack on the night of 11–12 March from two directions, involving a reorganised 201st Brigade attacking from the south and the 208th Brigade from the north-west, was successful, with many Libyan units, including the militia, breaking and retreating at a run. Libyan casualties were reported at 200+ another 200 allied Ugandans.
Tanzanian and UNLA forces met little resistance after the Battle of Lukaya and carried on west toward Kampala, first taking the Entebbe airfield after some fighting, and then taking Kampala itself on 10 April 1979. Few Ugandan or Libyan units gave much resistance; the greatest problem for the Tanzanian troops was their own lack of maps of the city. Amin fled, first to Libya and later to Saudi Arabia. The Libyan forces retreated to Jinja and then were repatriated finally through Kenya and Ethiopia. The Tanzanian army remained in Uganda to maintain peace while the UNLF (the political wing of the UNLA) organized elections to return the country to civilian rule.
The period following the ousting of Amin was a time of intense competition and fighting for power among different groups of political and ethnic rivals. Yusuf Lule had been installed as president by Tanzania. In June 1979, following a dispute over the extent of presidential powers, the National Consultative Commission (NCC), which was then the supreme governing body of the UNLF, replaced Lule with Godfrey Binaisa. Binaisa was himself removed on 12 May 1980 by the Military Commission, a powerful organ of the UNLF headed by Paulo Muwanga and his deputy Yoweri Museveni (then leader of the Uganda Patriotic Movement). A Presidential Commission with three members, Saulo Musoke, Polycarp Nyamuchoncho, and Joel Hunter Wacha-Olwol were then appointed to lead the country. They governed Uganda until the December 1980 general elections, which were won by Milton Obote's Uganda Peoples Congress. The elections were bitterly disputed. Yoweri Museveni alleged electoral fraud and declared an armed rebellion against Obote's government, plunging the country into the Ugandan Bush War.
Tanzania received no help from other countries in the Organization of African Unity, which had denounced Tanzania's invasion (and its role as a backer of the 1977 coup in the Seychelles which brought France-Albert René to power) as a breach of national sovereignty. As a result, the government in Dar es Salaam had to foot the bill for the invasion and subsequent peacekeeping role from its own coffers, further driving the country into poverty; Tanzania would not fully recover from the cost of the war until Uganda paid back Tanzania's debt in 2007.
See also 
- "Idi Amin and Military Rule". Country Study: Uganda. Library of Congress. December 1990. Retrieved 5 February 2010. "By mid-March 1979, about 2,000 Libyan troops and several hundred Palestine Liberation Organization (PLO) fighters had joined in the fight to save Amin's regime"
- The Tanzanian Invasion of Uganda: A Just War?
- "Fighting for Amin", The East African, April 8, 2002. (dead link)
- Kenneth M. Pollack, Arabs at War: Military Effectiveness 1948–91, University of Nebraska Press, Lincoln and London, 2002, p.369-373, ISBN 0-8032-3733-2
- Uganda: Country Pays Tanzania Shs120 Billion Amin War Debt
- Tanzania Civil-military Relations and Political Stability
- This article incorporates public domain material from websites or documents of the Library of Congress Country Studies.—Uganda
Further reading 
- Mambo, Andrew; Julian Schofield (2007-12-01). "Military Diversion in the 1978 Uganda-Tanzania War". Journal of Political and Military Sociology.