to him threatening and intimidating letters, warning him by recalling the fates of al-Muʿizz, al-Mustaʿīn, al-Muhtadī, and al-Qāhir.⦗1⦘ Couriers shuttled back and forth between the two, until at last the caliph, under compulsion, sent him the demanded sum. Yet the caliph and al-Barīdī never managed to meet in Baghdad, for al-Barīdī left the city for Wāsiṭ after the Daylamite troops revolted against him, rallied around their leader Kurtekīn, and attempted to burn al-Barīdī’s house when he received the money from the caliph but gave them nothing. Another faction—the Bajkamis, Turks once loyal to Bajkam—had also fallen out with him, so that the Bajkamis and the Daylamites formed two hostile camps. Al-Barīdī was therefore driven out of Baghdad ⦗2⦘ on the last day of Ramadan.
Kurtekīn assumed control of the city and went in to al-Muttaqī ⦗3⦘; the caliph invested him with the office of “Commander of Commanders” and bestowed a robe of honour upon him. Al-Muttaqī then summoned ʿAlī ibn ʿĪsā and his brother ʿAbd al-Raḥmān, entrusting the conduct of affairs to ʿAbd al-Raḥmān without conferring upon him the title of vizier. Kurtekīn next arrested the Turkish commander Takink, formerly a slave of Bajkam, and drowned him.
The common people soon complained that the Daylamites were seizing their houses. They presented their grievances to Kurtekīn, but he ignored them. The populace therefore barred the preachers from leading prayers in the congregational mosques, and fighting broke out between the Daylamites and the townspeople; many on both sides were killed.
Meanwhile, the caliph had written to Abū Bakr Muḥammad ibn Rāʾiq, the ruler of Syria, summoning him to rescue him from the Daylamites and from al-Barīdī. Ibn Rāʾiq set out for Baghdad on the twentieth of Ramadan with a large army, and many Bajkami Turks joined his standard. When he reached Mosul, Nāṣir al-Dawlah ibn Ḥamdān intercepted him; they exchanged messages, reached a settlement, and Ibn Ḥamdān paid him one hundred thousand dinars. As Ibn Rāʾiq approached Baghdad, Kurtekīn marched out with his troops to confront him. Ibn Rāʾiq entered the city from the west, while Kurtekīn re-entered from the east. The two armies drew up for battle inside Baghdad, and the populace sided with Ibn Rāʾiq against Kurtekīn. The Daylamites were routed, many were killed, and Kurtekīn fled and went into hiding. Ibn Rāʾiq’s authority over Baghdad was firmly established; the caliph bestowed a robe of honour upon him, and the two rode together on the Tigris. Ibn Rāʾiq later captured Kurtekīn and confined him in the prison of the caliphal palace.
Ibn al-Jawzī relates: On Friday, the twelfth of Jumādā al-Ūlā, the people gathered for the Friday prayer in the Barathā Mosque. Al-Muqtadir had previously burned this mosque ⦗4⦘ when he raided it and found a group of Shīʿites gathered there for cursing and reviling; it had lain in ruins until Bajkam rebuilt it in the days of al-Rāḍī. Al-Muttaqī then ordered that a pulpit bearing the name of Hārūn al-Rashīd be installed, and the people prayed there on that Friday.
He adds: The Friday prayer continued to be held there until after the year 450 AH.⦗5⦘