Abū Muḥammad ʿAlī ibn Aḥmad ibn Ṭalḥa ibn Jaʿfar ibn Muḥammad ibn Hārūn al-Muktafī bi'Llāh, known as al-Muktafī bi-Llāh, was born in the year eight hundred seventy-seven or seventy-eight and ascended to the position of caliph of the Abbasid Caliphate in nine hundred two. His reign lasted until his death on the thirteenth of August in nine hundred eight.
Unlike his father, al-Mu'tadid, who was known for his militaristic approach, al-Muktafi adopted a more liberal and sedentary style of governance. While he continued many of his father's policies, the day-to-day operations of the government were largely managed by his viziers and officials, allowing him to focus on broader state matters.
During his rule, al-Muktafi achieved significant military successes, including the defeat of the Qarmatians in the Syrian Desert and the reintegration of Egypt along with parts of Syria that had been under the control of the Tulunid dynasty. His era also witnessed ongoing conflicts with the Byzantine Empire, marked by alternating victories, including a notable triumph in the Sack of Thessalonica in nine hundred four.
Al-Muktafi's death in nine hundred eight paved the way for the rise of al-Muqtadir, a ruler whose weakness was exploited by the palace bureaucracy. This transition marked the beginning of a decline for the Abbasid Caliphate, which ultimately led to the caliphs becoming mere puppet rulers under the Buyid dynasty by nine hundred forty-six.