Ибн аль-Асир
Muhammad I, along with his vizier Ahmad, later made a campaign in Iraq, where they defeated and killed the Mazyadid ruler Sayf al-dawla Sadaqa ibn Mansur, who bore the title "king of the Arabs". In 1109, Muhammad I sent Ahmad and Chavli Saqavu to capture the Ismaili fortresses of Alamut and Ostavand, but they failed to achieve any decisive result and withdrew. Ahmad was shortly replaced by Khatir al-Mulk Abu Mansur Maybudi as vizier of the Sejluq Empire. According to Ali ibn al-Athir (a historian who lived about a hundred years later), Ahmad then retired to a private life in Baghdad, but according to the contemporary biographer, Anushirvan ibn Khalid, Muhammad I had Ahmad imprisoned for ten years.