The detective traveled back in time to the early years of Emperor Taizong of the Song Dynasty, and happened to meet a depressed magistrate who committed suicide by hanging himself from a beam. After discovering that he looked very similar to the magistrate, he pretended to be the magistrate and vowed to take good care of his family.
However, he soon discovered that he was governing a place of exile with high mountains and deep waters. Waiting for him were not only the surprised and suspicious eyes of the magistrate's wife who was sleeping with him, but also an inexplicable pile of debts, various weird murder mysteries, and even bigger mysteries behind the mystery. The most terrible thing, he also encountered waves of mysterious robberies!
With his wise mind, careful reasoning and agility, he saved the day from danger time and time again, solved the mystery one by one, and gradually became rich and promoted.