In the summer of 834, the Turkish general Ashinas was granted the oversight of Egypt by al-Mu'tasim, and his name was mentioned in the prayers throughout the province. Shortly after this, Muzaffar was dismissed as governor by Ashinas and replaced with Musa ibn Abi al-'Abbas.[6] Following his dismissal, he departed from Egypt, and in 837 he is mentioned as an officer under al-Afshin during the war against Babak al-Khurrami.[7]