At the death of the imam in 1681, his son Muhammad was prevented from assuming the imamate due to counter-claims by relatives in Rada, Shaharah, Sa'dah and Mansura. Through mediation of the Ulama (religious scholars), one of these, al-Mu'ayyad Muhammad II, took power.