In March 1984, Haidallah took the office of Prime Minister again, replacing Taya, in a move to strengthen his personal power. On December 12, however, Taya ousted Haidallah in a coup while the latter was out of the country. Haidalla had been at a Franco-African Summit in Burundi and learned of the coup in Brazzaville, during his return to Mauritania, from Denis Sassou Nguesso, the president of the Republic of the Congo. Haidallah returned to Mauritania anyway and was arrested at the airport in Nouakchott; he was eventually released in December 1988. Taya promised to install democracy, but his rule was considered dictatorial by many; he was deposed by a military coup in 2005.