Anis al-Dawlah ,a Servant who turned into Queen

Each of these two narratives is correct. Anis al-Dawlah took his place in the royal shrine after the death of Jirān.