Fang Zhiyi, who disguises herself as a man, rises from a laid-back county magistrate to become a thorn in the emperor's side. Qingxi County transforms from a poor frontier backwater into Dajing's richest county, with cement roads, glass mirrors, penicillin, and firearms appearing one after another. Fang Zhiyi matches wits with the emperor, who is traveling incognito. Their relationship goes from mutual testing to the revelation of their identities, taking her from a local county magistrate to a figure famous throughout the capital.