Lin Yuanshu, a law student, has a carefree, cheerful and kind nature. A wonderful opportunity traveled back to an unknown dynasty. Fortunately, he was rescued by Yan Guan Zhuo Ganyan and became friends with Zhuo Jinxuan, the eldest daughter of the Zhuo family. Lin Yuanshu, who wanted to go home, was always cautious, but because of repaying her favor, she fell into the whirlpool of the palace. Every step of the way, she made mistakes, and she became a close match with Zhuo Jinxuan, and became a target of public criticism in the palace. Her encounter with Prince Ning, who was bent on rebellion, pushed her to the forefront. Lin Yuanshu, who had learned from the painful experience, began to restrain her temperament, and used tricks to kill ghosts as soon as she saw them. A college student who only wanted to go home rose through the ranks, eventually aspired to a higher position and became a virtuous queen.