porcelain, coming from places like North Africa, Egypt, Iraq, Oman, Kirman, and China. After the demise of queen Arwa al-Sulayhi in 1138, the Fatimids in Cairo kept a representation in Aden, adding further prestige to the Zurayids. The Zurayids were sacked by the Ayyubids in 1174. Ayyubid conquest Turan Shah conquered Zabid from the Mahdids in May 1174, then marched toward Aden in June and captured it from the Zurayids. The Hamdanid sultans of Sana'a resisted the Ayyubid in 1175 and it was not until 1189 that the Ayyubids managed to definitely secure Sana'a. The Ayyubid rule was stable in southern and central Yemen where they succeeded in eliminating the mini-states of that region, while Ismaili and Zaidi tribesmen continued to hold out in a number of fortresses. The Ayyubids failed to capture the Zaydis stronghold in northern Yemen. In 1191, Zaydis of Shibam Kawkaban rebelled and killed 700 Ayyubid soldiers. Imam Abdullah bin Hamza proclaimed the imamate in 1197 and fought al-Mu'izz Ismail, the Ayyubid Sultan of Yemen. Imam Abdullah was defeated at first but was able to conquer Sana'a and Dhamar in 1198 al-Mu'izz Ismail was assassinated in 1202 Abdullah bin Hamza carried on the struggle against the Ayyubid until his death in 1217. After his demise, the Zaidi community was split between two rival imams. The Zaydis were dispersed and a truce was signed with the Ayyubid in 1219. The Ayyubid army was defeated in Dhamar in 1226. Ayyubid Sultan Mas'ud Yusuf left for Mecca in 1228 never to return. Other sources suggest that he was forced to leave for Egypt instead in 1223. Rasulid Dynasty The Rasulid Dynasty was established in 1229 by Umar ibn Rasul. Umar ibn Rasul was appointed deputy governor by the Ayyubids in 1223. When the last Ayyubid ruler left Yemen in 1229, Umar stayed in the country as caretaker. He subsequently declared himself an independent king by assuming the title al-Malik Al-Mansur (the king assisted by Allah). Umar established the Rasulid dynasty on a firm foundation and expanded its territory to include the area from Dhofar to Mecca Umar first established himself at Zabid, then moved into the mountainous interior, taking the important highland centre Sana'a. However, the Rasulid capitals were Zabid and Ta'izz. He was assassinated by his nephew in 1249. Omar's son Yousef defeated the faction led by his father assassins and crushed several counter-attacks by the Zaydi imams