The Shiite caliphs of Egypt were by this time the playthings of contending viziers, as the Sunnite caliphs of Bagdad had long been the puppets of Turkish sultans or amirs; and in 1164 Amalric I.
He often commanded an army in person, and was then given the title of serdari-ekrem (generalissimo); one of the subordinate viziers remained behind as kaimmakam, or locum tenens.
Cessive grand viziers were unable to restore order to the country.
The prince, under whom a definite peace was made with Malik al-Nasir, the Mameluke ruler of Egypt, had great trouble with powerful viziers and generals which he accentuated by his passion for Bagdad-Khatun, wife of the amir Uosain and daughter of the amir Chupan.
He procured the dismissal of four Russo-phil grand-viziers in succession, and between 1710 and 1712 induced the Porte to declare war against the tsar three times.