saw some major gains, notably the annexation of the Tulunid domains, but his later successors lacked his energy, and new enemies appeared in the form of the Qarmatians. In addition, factionalism within the bureaucracy, which had become apparent during the later years of al-Mu'tadid's reign, would debilitate the Abbasid government for decades to come, eventually leading to the subjugation of the Caliphate by a series of military strongmen, culminating in the conquest of Baghdad by the Buyids in 946. Early life Al-Mu'tadid was born Ahmad, the son of Talha, one of the sons of the Abbasid caliph al-Mutawakkil (), and a Greek slave named Dirar. The exact date of his birth is unknown; as he is variously recorded as being thirty-eight or thirty-one years old at the time of his accession, he was born around either 854 or 861. In 861, al-Mutawakkil was murdered by his Turkish guards in collusion with his oldest son al-Muntasir (). This began a period of internal turmoil, known as the "Anarchy at Samarra" from the site of the Caliphate's capital, which ended in 870 with the rise to the throne of Ahmad's uncle, al-Mu'tamid (). Real power however, had come to lie with the elite Turkish slave-soldiers () and with Ahmad's own father, Talha, who, as the Caliphate's main military commander, served as the chief intermediary between the caliphal government and the Turks. Assuming the honorific name al-Muwaffaq in the style of the caliphs, Talha soon became the effective ruler of the Caliphate, a position consolidated in 882 after a failed attempt by al-Mu'tamid to flee to Egypt led to his confinement in house arrest. 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 the Turkish slave-soldier 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, a Persianate dynasty who replaced the 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. Even in Iraq, the rebellion of the Zanj, African slaves brought to work in the plantations of Lower Iraq, threatened Baghdad itself,