stylistic:tone, linguistic:paraphrasing
Rasulid dynasty (1229–1454)

The Rasulid dynasty was established in 1229 by Umar ibn Rasul, who 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 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 Taiz. He was assassinated by his nephew in 1249. Omar's son Yousef defeated the faction led by his father's assassins and crushed several counterattacks by the Zaydi imams who still held on in the northern highland. Mainly because of the victories he scored over his rivals, he assumed the honorific title "al-Muzaffar" (the victorious).

After the fall of Baghdad to the Mongols in 1258, al-Muzaffar Yusuf I appropriated the title of caliph. He chose the city of Taiz to become the political capital of the kingdom because of its strategic location and proximity to Aden. The Rasulid sultans built numerous Madrasas to solidify the Shafi'i school of thought, which is still the dominant school of jurisprudence amongst Yemenis today. Under their rule, Taiz and Zabid became major international centres of Islamic learning. The kings were educated men in their own right, who not only had important libraries but also wrote treatises on a wide array of subjects, ranging from astrology and medicine to agriculture and genealogy.

They had a difficult relationship with the Mamluks of Egypt because the latter considered them a vassal state. Their competition centred over the Hejaz and the right to provide kiswa of the Ka'aba in Mecca. The dynasty became increasingly threatened by disgruntled family members over the problem of succession, combined with periodic tribal revolts, as they were locked in a war of attrition with the Zaydi imams in the northern highlands. During the last 12 years of Rasulid rule, the country was torn between several contenders for the kingdom. The weakening of the Rasulid provided an opportunity for the Banu Taher clan to take over and establish themselves as the new rulers of Yemen in 1454 AD.