Abū Muḥammad ʿAlī ibn Aḥmad;
(Arabic: أبو محمد علي بن أحمد; 877/8 – 13 August 908), better known by his regional name al-Muktafī bi-llāh (Arabic: المكتفي بالله, lit. ‘Content with God Alone’), 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.