The scholar Du Yunteng (played by Chen Haomin), who repeatedly failed the exam, was mistakenly identified as the magistrate of Huanxi County by chance. He engaged in a power struggle with the detective Mai Yatang (played by Lin Zicong), who knew Du Yunteng's background, and also fought against the female bandit Cao Tianjiao (played by Lin Yuan) who wanted to be undercover in the yamen, the fake divine doctor descendant Hua Yingying, and his insecure martial arts skills
The scholar Du Yunteng (played by Chen Haomin), who repeatedly failed the exam, was mistakenly identified as the magistrate of Huanxi County by chance. He engaged in a power struggle with the detective Mai Yatang (played by Lin Zicong), who knew Du Yunteng's background, and also fought against the female bandit Cao Tianjiao (played by Lin Yuan) who wanted to be undercover in the yamen, the fake divine doctor descendant Hua Yingying, and his insecure martial arts skills