Background
He was a great-great-grandson of al-Qasim ar-Rassi (d 860), a key figure in the emerging of the Zaydiyyah brand of Shi'a Islam.
He was a great-great-grandson of al-Qasim ar-Rassi (d 860), a key figure in the emerging of the Zaydiyyah brand of Shi'a Islam.
Al-Qasim bin Ali was a Sayyid from Tarj in the Khath'am region (present-day south-western Saudi Arabia). His year of birth is (doubtfully) given as 922 or 928. He received a reputation for religious learning from early age.
In 993, a-Qasim proclaimed the imamate in Tihamah, but his movement was defeated in the next year by the governor of Mecca. Still, the Fatimid caliph treated al-Qasim with respect and courtesy. Al-Qasim invaded Yemen in 997 or 998 and appropriated Sa'dah, the traditional capital of the Zaydiyyah domain.
As imam he was known as al-Mansur a-Qasim. He subsequently returned to Tarj, and his power in Yemen immediately crumbled. He then returned again, permanently, in 999.
This time he was able to extend his power over an extensive area from Bilad Khath to San'a. However, he could not secure an outlet to the sea, and the lowland of Yemen was subjected to the Ziyadid dynasty in Zabid. Al-Mansur al-Qasim resided in Iyyan (Ayyan), south-east of Sad'ah, and therefore became known as al-Iyyani.
He called on certain tribes to perform military service. One of his adherents composed a poem which emphasized the enthusiastic response among the tribesmen, and the role of the imam as a restorer: "Rise and lead the people, and send them with justice. Remove darkness and ignorance from them.
Restore the religion of your ancestor after it had disappeared, and inflict death upon your opponents."
His position was nevertheless precarious, since other Rassids (descendants of al-Qasim ar-Rassi) claimed power over the Zaydiyyah community. After his failure to subdue the recalcitrant tribesmen of Banu Harith in Najran, he faced opposition from al-Malih Ibrahim and the former imam ad-Da'i Yusuf. A reconciliation took place in 1002.
The imam, however, preferred to retire from governance altogether. He lived a private life in Madhab and Iyyan where he wrote a text to his defence. He died in the following year in Iyyan.
As a religious scholar, he followed al-Qasim ar-Rassi and al-Hadi ila'l-Haqq Yahya in the essentials, although he was also accused of theological deviations.