This means that, although al-As'am was the principal military leader of the Qarmatians in their expeditions abroad, in reality power still resided with his uncles, the last of whom, Abu Ya'qub Yusuf, died in 977.