In April 1979, Tanzanian forces and the Uganda National Liberation Army (UNLA), a coalition of armed rebel groups united under the
Uganda National Liberation Front (UNLF), deposed the
President of Uganda,
Idi Amin. A new UNLF government was installed, but it was weak and exercised little control over the country. This was in part due to the UNLF's and its army's own internal divisions. The several-hundred strong
Kikosi Maalum group was loyal to
Milton Obote, who had served as president before Amin took power.
Yoweri Museveni controlled the
Front for National Salvation, which had about 3,000 members. Over time, power shifted to pro-Obote elements in the government and the army. Obote assumed power in 1980 through a disputed election, and ruled through repressive methods, including the incarceration and killing of dissidents. In February 1981, Museveni and a small band of rebels
began attacking UNLA forces, signalling their entry in the
Ugandan Bush War. Shortly thereafter a new rebel coalition was organised as the
National Resistance Movement (NRM). Museveni was made vice-chairman of the National Resistance Council, the group's political body, and Chairman of the High Command of the National Resistance Army (NRA), the Movement's armed organ. By mid-1985, the NRA had been pushed out of its strongholds, and Museveni retired to Sweden. Regardless, the group inflicted a major defeat on the UNLA in the
Battle of Kembogo, causing great frustration and unrest among the security forces. On 27 July, several officers of the UNLA launched a coup which overthrew President Obote. General
Tito Okello assumed power in his place. The new regime was weak and unstable, and Okello made overtures to anti-Obote rebel groups to form a coalition government and end the fighting. Museveni took advantage of the disruption caused by the coup to return to East Africa and rebuild the NRA. In August the NRA launched a series of co-ordinated attacks that resulted in the capture of significant amounts of territory in central and western Uganda. In late September, the NRA
laid siege to the UNLA troops in the provincial centre of
Masaka and, soon thereafter, the town of
Mbarara, both key urban areas in southern Uganda. In October, Museveni warned that, in the event of the failure negotiations ongoing between the NRM and the UNLF in
Nairobi, "the NRA would take
Kampala by force". On 3 December, Okello's government released a document allegedly seized from the NRA which carried an order from Museveni to the NRA Chief of Staff,
Salim Saleh, to prepare to attack the Ugandan capital, Kampala, if a peace agreement did not materialise. The NRM did not comment on the disclosure. On 10 December, Masaka's garrison surrendered to the NRA. On 17 December, the UNLF and NRM concluded talks and signed the
Nairobi Peace Agreement. The accord nominally ended the war and declared Okello and Museveni President and
Vice President of Uganda, respectively, and required the demilitarisation of Kampala until a new army could be established. It also carried a provision which stipulated that one belligerent could disregard the agreement if the other was found to be violating
human rights. The NRM accused the UNLA of failing to respect Ugandans' rights, and the NRA continued fighting. On 31 December the UNLF government accused the NRA of failing to uphold its terms of the peace agreement by launching attacks, impeding the flow of food to the Mbarara garrison, and refraining from nominating representatives to coordinate further peace measures with the government. The UNLA forces at Mbarara capitulated soon thereafter. == Prelude ==