 Shagari was overthrown in the 1983 Nigerian coup d'état and succeeded by Muhammadu Buhari, who was appointed Chairman of a new Supreme Military Council of Nigeria and Commander-in-Chief of the Armed Forces by the junta.Buhari ruled for two years, until the 1985 Nigerian coup d'état, when he was overthrown by General Ibrahim Babangida.General Ibrahim Babangida promulgated himself as the President of the Armed Forces Ruling Council and the first military President of Nigeria.