Abū Muḥammad ʿAlī ibn Aḥmad (Arabic: أبو محمد علي بن أحمد; 877/78 – 13 August 908), better known by his regnal name al-Muktafī bi-llāh (Arabic: المكتفي بالله, lit. 'Content with God Alone'[1]), was the caliph of the Abbasid Caliphate from 902 to 908. More liberal and sedentary than his militaristic father al-Mu'tadid, al-Muktafi essentially continued his policies, although most of the actual conduct of government was left to his viziers and officials. His reign saw the defeat of the Qarmatians of the Syrian Desert, and the reincorporation of Egypt and the parts of Syria ruled by the Tulunid dynasty. The war with the Byzantine Empire continued with alternating success, although the Arabs scored a major victory in the Sack of Thessalonica in 904. His death in 908 opened the way for the installation of a weak ruler, al-Muqtadir, by the palace bureaucracy, and began the terminal decline of the Abbasid Caliphate that ended in 946 with the caliphs becoming puppet rulers under the Buyid dynasty.
Ali ibn Ahmad was born in 877/8, the son of Ahmad ibn Talha, the future caliph al-Mu'tadid (r. 892–902) by a Turkish slave-girl, named Čiček ("flower", Jijak in Arabic).[2][3] He was the first caliph named after caliph Ali.[4]
At the time of his birth, the Abbasid Caliphate was still reeling from the decade-long civil war known as the "Anarchy at Samarra", which had begun with the assassination of Caliph al-Mutawakkil (r. 847–861) by dissatisfied soldiers and ended with the accession of al-Mu'tamid (r. 870–892). Real power, however, lay with al-Mu'tamid's brother, al-Muwaffaq, Ali's paternal grandfather. Al-Muwaffaq enjoyed the loyalty of the military, and by 877 had established himself as the de facto ruler of the state.[5] Caliphal authority in the provinces collapsed during the "Anarchy at Samarra", with the result that by the 870s the central government had lost effective control over most of the Caliphate outside the metropolitan region of Iraq. In the west, Egypt had fallen under the control of Ahmad ibn Tulun, who also disputed control of Syria with al-Muwaffaq, while Khurasan and most of the Islamic East had been taken over by the Saffarids, who replaced Abbasids' loyal clients, the Tahirids. Most of the Arabian peninsula was likewise lost to local potentates, while in Tabaristan a radical Zaydi Shi'a dynasty took power. In Iraq, the rebellion of the Zanj slaves threatened Baghdad itself, and it took al-Muwaffaq and al-Mu'tadid years of hard campaigning before they were finally subdued in 893.[6]
Following his rise to the throne, al-Mu'tadid continued his father's policies, and restored caliphal authority in the Jazira, northern Syria, and parts of western Iran. He established an effective administration, but the incessant campaigning, and the need to keep the soldiery satisfied, meant that it was almost totally geared towards providing the funds necessary to maintain the army. Nevertheless, al-Mu'tadid managed to accumulate a considerable surplus in his ten-year reign.[7] At the same time the bureaucracy grew in power, it also saw a growth in factionalism, with two rival "clans" emerging, the Banu'l-Furat and the Banu'l-Jarrah. The two groups represented primarily different factions in a struggle for office and power, but there are indications of "ideological" differences as well: many of the Banu'l-Jarrah families hailed from converted Nestorian families and employed Christians in the bureaucracy, in addition to maintaining closer ties with the military, while the Banu'l-Furat tried to impose firm civilian control of the army and (not quite openly) favoured Shi'ism.[8][9]
Al-Mu'tadid took care to prepare Ali, his oldest son and heir-apparent, for the succession by appointing him as a provincial governor: first in Rayy, Qazvin, Qum and Hamadan, when these provinces were seized from the semi-autonomous Dulafid dynasty in c. 894/5, and in 899 over the Jazira and the frontier areas, when Al-Mu'tadid deposed the last local autonomous governor, Muhammad ibn Ahmad al-Shaybani. The future al-Muktafi took up residence at Raqqa.[2][10][11] The religious scholar Ibn Abi al-Dunya, who enjoyed al-Mu'tadid's confidence, was appointed as Ali's tutor.[12]
