The heroine An Yunning has been living in the world since she was a child, and she has no family. By chance, she was adopted as an adopted daughter by the king of Qi Dynasty and named Yaoguang. When she grew up, because of her appearance and temperament, the most prosperous families in the Six Realms and Eight Wildernesses came to seek her, so she became known as the most beautiful woman in the Six Realms and Eight Wildernesses. Soon after, the conflict between the worlds of heaven and demons gradually became more acute, wars continued in the eight wastelands, and the Qi Dynasty was destroyed. In order to protect her, King Qi sent her to Xuanmen to practice, but the world could not tolerate her and called her a witch who brought trouble to the world. She and her master Ji Huaijin loved each other, but they believed the demon spies and tortured her. During the largest battle between immortals and demons, An Yunning inspired the ancient divine power flowing in his body. After recovering his memory, he broke with his master Ji Huaijin and returned to the heaven to become the last ancient goddess in the heaven. He led the party and was revered as the Lord Qihuang.