Her two sons were also absent from the city, and to secure the succession for her son, she called upon the viziers and ordered them to pay the wages of the army to secure order, and then had them swear allegiance to her son as their new Caliph in his absence.