In 1975 as part of the First Chadian Civil War, the military overthrew François Tombalbaye and installed Félix Malloum as head of state. Hissène Habré was appointed Prime minister, and attempted to overthrow the government in February 1979, failing, and being forced out. In 1979 Malloum resigned and Goukouni Oueddei became head of state. Oueddei agreed to share power with Habre, appointing him Minister of Defense, but fighting resumed soon after. Habre was exiled to Sudan in 1980.