Female historian Su Zhao was falsely accused of tampering with history books for recording royal secrets, and was demoted to a public official. However, while sorting out private files, she repeatedly solved strange cases and unexpectedly fell in love with Pei Yan, the young minister of Dali Temple who was visiting privately incognito. The two went from testing each other to working together to investigate the case. In the process of uncovering the conspiracy of the remnants of the old dynasty, Su Zhao proved his innocence with his excellent historical writing and meticulous logic, while Pei Yan rekindled her belief in the justice of the law, and finally broke through the mystery of her life experience and the shackles of public opinion, and finally got married with the oath of "classmates writing together". The highlight focuses on Su Zhao's use of pen as a blade to break rumors and his wits against the powerful to protect the truth, and Pei Yan's contrast from being cold-faced to the criminal officer to subverting the rules for his lover.