Beginning in 1979, Nigerians participated in a brief return to democracy when Olusegun Obasanjo transferred power to the civilian regime of Shehu Shagari. The Shagari government became viewed as corrupt and incompetent by virtually all sectors of Nigerian society. The military coup of Muhammadu Buhari shortly after the regime's fraudulent re-election in 1984 was generally viewed as a positive development. Buhari promised major reforms, but his government fared little better than its predecessor. His regime was overthrown by another military coup in 1985.