In the Dashuo Dynasty, the noble family was at its peak. Lu Wenqian (actually Lu Mingyue), a "talented" from a poor family in the south of the Yangtze River, went to Beijing to take the exam. He collided with Xie Yunlan at the city gate, and their souls were exchanged during a thunderstorm. Lu Mingyue woke up in Xie Yunlan's male body and was horrified; Xie Yunlan woke up in Lu Mingyue's body and was shocked to find that "he" was a woman.
The two of them each concealed their secrets. Lu Mingyue was forced to pretend to be a dandy prince and enter the Imperial Academy, while Xie Yunlan prepared for the exam as a poor family member. Through soul induction, the two discovered that each other was investigating the imperial examination fraud case and decided to cooperate. Lu Mingyue discovered Xie Yunlan's second uncle's conspiracy in the Duke's Mansion, and Xie Yunlan found clues on the streets about selling officials from the Ministry of Personnel.
In Lu Mingyue's body, Xie Yunlan felt the difficulty of survival for a woman from a poor family, and felt pity for her. Lu Mingyue acted under the identity of Xie Yunlan and realized that the children of powerful people could not help themselves.