Qingyuan was abandoned by her parents as a disaster when she was young. She was rescued by Shangguan Wanning, the daughter of the Anguo Duke of South Vietnam. She grew up with her and followed her into the palace as a queen. When the Northern Qi Dynasty went south to destroy South Vietnam, Wan Ning preferred to die and committed suicide. Qing Yuan was entrusted by Qing Yuan to flee. On the way, she met Marshal Su Jia of the Northern Qi Dynasty. For revenge, she pretended to approach and gained his trust, and used him to capture Yifeng City without bloodshed. Qingyuan entered the palace again and got close to the Northern Qi Emperor Wanyanhong. She used the conflicts in the royal family to disrupt the court situation and gave birth to Yuan'er, her child with Sujia. Sujia was framed and sentenced to death due to political disagreements. Qingyuan took revenge from then on. She teamed up with Lin Shi to get rid of Wanyanhong, supported Yuan'er, and became the emperor after acting as an agent of the government.