Programmer Zhao Heng traveled through time and became the sickly ninth prince. He wanted to lie down and wait for death, but unexpectedly discovered that he was the prince of the country under the secret command of the late emperor. On the day when his identity was exposed, the civil and military officials of the Manchu Dynasty knelt down and begged him to ascend the throne. Gu Chong, the chief minister, pretended to support him, and Zhao Yuanlang, the king of Ning, led his troops to force him to retreat. Zhao Heng teamed up with Su Wanqing, a Jin Yiwei who disguised himself as a man, and Zhou Qingci, the richest man in Jiangnan, to investigate corruption and collect salt taxes while playing tricks on the old fox and the general. But he didn't know that the white-browed old monk next to him was waiting for him to take out the imperial seal after he ascended the throne and completely change the dynasty.