Following the August 2005 coup d'état, Boubacar was appointed as Prime Minister for a second time, and Maaouya returned as Director of the Cabinet of Prime Minister with ministerial rank, holding that post from 2005 to 2007. On 31 August 2008, he was appointed as Minister of the Interior and Decentralization in the government named after the August 2008 coup d'état.