Role in the Komnenian revolt
Anna was to play a prominent role in the Komnenian coup d'état of 1081, along with the current empress, Maria of Alania. First married to Michael VII Doukas and secondly to Nikephoros III Botaneiates (r. 1078–1081), Maria was preoccupied with the future of her son by Michael VII, Constantine Doukas. Nikephoros III intended to leave the throne to one of his close relatives, and this resulted in Maria's alliance with the Komnenoi. The real driving force behind this political alliance was Anna Dalassene.
Already closely connected to the Komnenoi through her cousin Irene's marriage to Isaac Komnenos, the Komnenoi brothers were able to see the empress under the pretense of a friendly family visit. Furthermore, to aid the conspiracy Maria had adopted Alexios as her son, though she was only five years older than he. Maria was persuaded to do so on the advice of her own "Alans" and her eunuchs, who had been instigated to do his by Isaac Komnenos. Knowing Anna's tight hold on her family, it must have been with her implicit approval that he was adopted. As a result, Alexios and Constantine, Maria's son, were now adoptive brothers and both Isaac and Alexios took an oath that they would safeguard his rights as emperor. By secretly giving inside information to the Komnenoi, Maria was an invaluable ally.
Just as on previous occasions, the betrothal of her granddaughter to a relative of Botaneiates' did not stop Anna's intrigues against the new regime. As stated in the Alexiad, when Isaac and Alexios left Constantinople in mid-February 1081 to raise an army against Botaneiates, Anna quickly and surreptitiously mobilized the remainder of the family and took refuge in the Hagia Sophia. From there she negotiated with the emperor for the safety of family members left in the capital, while protesting her sons' innocence of hostile actions.
Under the falsehood of making a vesperal visit to worship at the church, she deliberately excluded the grandson of Botaneiates and his loyal tutor, met with Alexios and Isaac and fled for the forum of Constantine. The tutor found them missing and eventually found them on the palace grounds but she was able to convince him that they would return to the palace shortly. Then to gain entrance to both the outer and inner sanctuary of the church the women pretended to the gatekeepers that they were pilgrims from Cappadocia who had spent all their funds and wanted to worship before starting their return trip. However, before they were to gain entry into the sanctuary, Straboromanos and royal guards caught up with them to summon them back to the palace. Anna then protested that the family was in fear for their lives, her sons were loyal subjects (Alexios and Isaac were discovered absent without leave), and had learned of a plot by enemies of the Komnenoi to have them both blinded and had, therefore, fled the capital so they may continue to be of loyal service to the emperor.
She refused to go with them and demanded that they allow her to pray to the Mother of God for protection. This request was granted and Anna then manifested her true theatrical and manipulative capabilities:
"She was allowed to enter. As if she were weighed down with old age and worn out by grief, she walked slowly and when she approached the actual entrance to the sanctuary made two genuflections; on the third she sank to the floor and taking firm hold of the sacred doors, cried in a loud voice: "Unless my hands are cut off, I will not leave this holy place except on one condition: that I receive the emperor's cross as guarantee of safety".
Nikephoros III Botaneiates was forced into a public vow that he would grant protection to the family. Straboromanos tried to give her his cross, but for Anna this was not sufficiently large enough so that all bystanders could witness the oath. She also demanded that the cross be personally sent by Botaneiates as a vow of his good faith. He obliged, sending a complete assurance for the family with his own cross. At the emperor's further insistence, and for their own protection they took refuge at the convent of Petrion, where eventually they were joined by Irene Doukaina's mother, Maria of Bulgaria.
Botaneiates allowed them to be treated as refugees rather than guests. They were allowed to have family members bring in their own food and were on good terms with the guards from whom they learned the latest news. Anna was highly successful in three important aspects of the revolt: she bought time for her sons to steal imperial horses from the stables and escape the city, she distracted the emperor and gave her sons time to gather and arm their troops and she gave a false sense of security to Botaneiates that there was no real treasonous coup against him.