 Ibn Ra'iq however became aware of this, and had him imprisoned and his right hand cut off.Shortly after, even while the army of the Turkish general Bajkam was approaching Baghdad to depose Ibn Ra'iq, his tongue was cut.Despite Bajkam's success, Ibn Muqla remained in prison, where he died on 20 July 940.