Pei Xuzhi, a doctor of forensic medicine, woke up and found that he had become the new magistrate of a small and impoverished county in Shaoxing during the Southern Song Dynasty. On the first day he took office, half of the county government office wall collapsed, and there were only three taels of broken silver left in the accounting room. The previous magistrate left seven unsolved cases and ran away. The local tycoon controls 80% of the county's fertile farmland. Bandits come down from the mountain every two days to rob the country. His colleagues in the next state capital are waiting to see his joke. Pei Xuzhi looked at the shiny official seal in his hand and rolled up his sleeves - OK, since God has thrown him here, don't blame him for not playing according to the rules. Autopsies and solving crimes, field training, fighting against powerful people, and suppressing banditry, a modern man's brain is put into the shell of the Southern Song Dynasty. He has the final say in this county.