Zane Foster, a modern office worker, time travels to become magistrate in Great Jing Dynasty. He uses modern ideas to transform Peach County. He catches female emperor's attention, transferred to capital. He restructures the court, mentors the princess, confronts aristocratic clans, implements policies. He rises from magistrate, assists monarchs, launches reforms, becomes an influential imperial tutor, reshaping the nation's fate.