tribes but were in fact, from Ghassanid Arab origin. The founding of the dynasty Originally a general of the Oghuz Zengid dynasty, Saladin, a Kurd, founded the Ayyubid dynasty. After the foundation of a separate dominion over Egypt, the Ayyubid army was still generally composed of Oghuz and Kipchak troops and mercenaries. After having the control over most of Levant, the Kurdish Ayyubids had held power also in most of Yemen since deposing the Zurayids 1173. The last of the line, al-Malik al-Mas'ud, left Yemen for Bilad al-Sham in 1229 and entrusted governance to an ambitious member of his own mercenary force. This was Umar bin Ali who nominally acknowledged the Ayyubids of Egypt during his first years in power. However, he proclaimed himself ruler in his own right in 1235 after receiving a diploma of recognition from the Abbasid caliph al-Mustansir I. As sultan he was called al-Malik al-Mansur I. The regime was in a certain sense a direct continuation of Ayyubid rule, with power based on the control of military forces and Abbasid approval, rather than acquiescence from the local population. The coastal capital was established in Zabid. However, al-Malik al-Muzaffar fell victim to internal intrigues in 1249 when his own guards assassinated him at the instigation of his ambitious nephew Shirkuh. The throne was taken over by his son al-Malik al-Muzaffar Yusuf I (1249-1295), under whom the Yemeni kingdom reached its apogee. The new sultan confirmed Rasulid rule over the Tihama lowland and the southern highlands. Sanaa, one of the traditional centres of the Zaydi imams, was temporarily occupied, and the imams were defeated on several occasions. The cool mountainous city Taiz became the base of the dynasty together with Zabid. After the 1258 fall of Baghdad to the Mongols, al-Malik al-Muzaffar Yusuf appropriated the title of caliph. State and economy The Rasulid era is often considered one of the most brilliant in the history of Yemen. While the history of this region has usually been characterized by deep political and religious divisions, the extent of territory that the Rasulids ruled would not be superseded until (briefly) in the seventeenth century. The southern coast of Arabia up to Dhofar was kept under loose control. Rasulid influence stretched as far as Zafan near Salalah in Oman, where a side-branch of the family governed for a while. While the Hijaz fell to the Mamluk Sultanate of Egypt, the Rasulids