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.
Afewyearsafter Constantinople passed into the hands of the Ottomans, some ghazels, the work of the contemporary Tatar prince, Mir `Ali Shir, who under the nom de plume of Nevayi wrote much that shows true talent and poetic feeling, found their way to the Ottoman capital, where they were seen and copied by Ahmed Pasha, one of the viziers of Mahommed II.
Under the Empire Egypt was administered by a vast bureaucracy, at the head of which, responsible to the king, was the vizier, or sometimes two viziers, one for Upper Egypt, the other for Lower Egypt (in which case the former, stationed at Thebes, had the precedence)., The duties of the viIier and the procedure in his court are detailed in a long inscription which is repeated in three tombs of the XVIIIth Dynasty at Thebes (Breasted, Records, ii.