A modern man becomes a low-ranking county magistrate in ancient times. Using modern knowledge, he solves crimes, improves people's lives, defeats corrupt enemies, and turns a poor county into a thriving land while rising through a dangerous court.