This novel tells the legendary life of Su Wan. In her previous life, she was born into a noble family, but she was framed by Xiao Yi, whom she trusted. As a result, her entire family was executed and she was killed in the execution ground. Fortunately, she was reborn. She borrowed the body of Lin Yao and disguised herself as a man to participate in the imperial examination. She took the pseudonym Lin Xuanyu. With the wisdom and courage of her previous life, she passed all the tests and became the number one scholar. She was appointed by the emperor to marry Princess Ning'an and became the "female consort".
Above the court, Su Wan (Lin Xuanyu) and Princess Ning'an went from initial misunderstanding to later sympathy and cooperation to fight against the Xiao family forces headed by Xiao Yi and Xiao Guifei. They uncovered the conspiracy of the Xiao family in colluding with Jianghu forces, secretly minting coins, and tampering with imperial edicts. They experienced many crises such as the secret war at the Spring Banquet, the Yangzhou investigation, and the palace coup in the capital. In the process, Su Wan demonstrated outstanding political talents and military strategies. She not only cleared the grievances of her family, but also made great military exploits on the battlefield in northern Xinjiang.
At the same time, complex emotions also developed between Su Wan and Emperor Yongshun. Emperor Yongshun appreciated her talent and courage, and the initial friendship between monarch and minister gradually developed into love. On the road of revenge and governance, Su Wan gradually felt the emperor's sincerity.
In the end, Su Wan not only succeeded in overthrowing the Xiao family and purging the traitors from the court, but also promoted women's education and founded a women's school, giving more women the opportunity to study and practice martial arts. Her relationship with Emperor Yongshun also gradually became clear after going through ups and downs. The novel ends in a prosperous scene, showing Su Wan's legendary transformation from a revengeful orphan girl to a famous heroine, and also depicts stories about family, country, love and ideals.