After a military coup on 25 January 1971, Obote was deposed from power and the dictator Idi Amin seized control of the country. Amin ruled Uganda with the military for the next eight years and carried out mass killings within the country to maintain his rule.