Yan Xinyue was originally a graduate student in the history department. An accident caused her to travel back to ancient times and possess the concubine of the Hou family who was given a marriage to King Muchen of Zhenbei. Although Mu Chen held a large number of troops, he was jealous of the emperor. Yan Xinyue used the historical knowledge she learned to formulate military strategies for Mu Chen, helping him repeatedly perform extraordinary feats on the battlefield and win prestige. At the same time, she was still working around the harem, clearing out the emperor's spy agents for Mu Chen. In this process, the two went from initially testing each other to trusting each other, and their relationship became deeper and deeper. As the situation changed, Mu Chen launched a coup and successfully ascended the throne, and Yan Xinyue also became a virtuous queen.