First reign
When Ali became king in 1047, he named her queen, malika, but not merely his consort, but his formally acknowledged co-ruler and political partner, who governed the realm of Yemen by his side.[4] In recognition of this, her name was proclaimed alongside that of her spouse in the Khutba, the traditional privilege of a sovereign in a Muslim state: 'the khutba was proclaimed from the pulpits of the mosques of Yemen in her husband's name and in her name', after the Fatimid sovereign and her husband: 'May Allah prolong the days of al-Hurra the perfect, who manages the affairs of the faithful with care.'[4] This was the first time ever in history when the name of a woman had been proclaimed in the khutba. Another almost unique occurrence was that queen Asma bint Shihab "attended councils with her face uncovered", that is to say unveiled.[4]
Muhammad al-Thawr described her: "She was one of the most famous women of her time and one of the most powerful. She was munificent. She was a poetess who composed verses. Among the praises given her husband al-Sulayhi by the poets was the fact that he had her for a wife ... . When he ascertained the perfection of her character, her husband entrusted the management of state business to her. He rarely made decisions that went against her advice and [...] regarded her with very great respect and never gave any other opinion precedence over hers."[5]
In 1067, during the pilgrimage to Mecca, the Banu Najah clan under Sa'id Ibn Najah, the prince of Zabid, attacked the travel party of Ali and Asma, killed Ali and took Asma prisoner. She was sequestered in a secret prison in Zabid, and reportedly, the severed head of her spouse was planted on a pole visible from her cell.[6] After a year's imprisonment, she managed to get a message through to her son and daughter-in-law in Sa'na, and her son stormed Zabid and freed her.[7]
Second reign
Asma returned to her realm and assisted her son, Ahmad al-Mukkaram, and daughter-in-law, Arwa al-Sulayhi, with the management of the realm until she died.[8][9] When she met her son al-Mukarram, she confirmed him as his father's successor, but when he was paralyzed shortly afterward, she retook control as the co-regent of the realm together with her daughter-in-law Arwa, who was to be her co-ruler in accordance with the will of her son, as he was himself unable to rule because of his condition.[10]