Al-Muwaffaq, born Talha ibn Jaʿfar on July 1, 842, was an Abbasid prince and military leader who became the de facto regent during the reign of his brother, Caliph al-Muʿtamid. He helped restore central authority after the Anarchy at Samarra, defending Iraq against the Saffarids and leading the campaign that ended the Zanj Rebellion.
He gained military and political influence amid the succession struggles that followed the murder of his father, Caliph al-Mutawakkil, in 861. In 865, his brother al-Muʿtazz entrusted him with operations against Caliph al-Mustaʿin and his supporters in Baghdad. After al-Mustaʿin’s surrender, al-Muwaffaq returned to Samarra, where he was later imprisoned and exiled before settling in Baghdad. He declined the caliphate when supporters urged him to claim it in 869.
After al-Muhtadi was killed in 870, al-Muwaffaq returned from Mecca and, with the backing of Turkish military leaders, took effective control of the government under al-Muʿtamid. His authority expanded across much of the territory still controlled by the Abbasids, and in 875 he was placed in the succession after the caliph’s young son. Although the empire was formally divided between them, al-Muwaffaq continued to exercise influence over both eastern and western provinces.
His forces defeated the Saffarid ruler Yaʿqub ibn al-Layth near Baghdad in 876, protecting the capital, though the Abbasids later reached agreements that recognized Saffarid control in the east. From 879, al-Muwaffaq and his son Abu’l-Abbas led the decisive campaign against the Zanj, whose rebellion had threatened southern Iraq; their forces captured the rebels’ capital in 883. Al-Muwaffaq died on June 2, 891. His son later became Caliph al-Muʿtadid, whose reign continued the Abbasid recovery.