 By cultivating the friendship of the powerful chamberlain ("hadjib") Nasr, Ibn Muqla managed to secure the post of vizier for himself after Ali's disgrace in 928.His vizierate however was marked by extreme internal instability, including a short-lived coup in 929, instigated by Mu'nis, which deposed al-Muqtadir in favour of his brother al-Qahir.Despite the coup's failure, Mu'nis and his close ally Ali ibn Isa now dominated the government, and led to Ibn Muqla's dismissal in 930.