•Li Mingyuan, a modern history college student, was unexpectedly reborn during the Zhenguan period of the Tang Dynasty. He was mistakenly taken into the palace and forced to purify himself. Relying on his vague memory of medical treatment in the Tang Dynasty, he used self-mutilation to disguise his "successful purification" and became the lowest eunuch "Li Jinzhong" in the Yeting Bureau, starting the road to saving his life.