In Chang'an of the Tang Dynasty, the young emperor ascended the throne, the Queen Mother Liu and her relatives took over the power, and there was an undercurrent in the court. Lin Wanxing, a female doctor who traveled through time, inherited the legacy of the original owner's father, reopened the old medical clinic, and established a foothold among the people with superb medical skills. However, she was accidentally involved in the conspiracy vortex of the Liu Group. The fire in the medical clinic of the original owner's father ten years ago was not an accident, but was closely connected with Liu's secret plan to murder the late emperor and control the government.
Lin Wanxing meets Pei Ji, who is forbearing and seeking the country. The two test each other and form an alliance. They gradually collect evidence of Liu's crimes: corruption in water transport, concealing weapons, witchcraft and collusion with foreign enemies of Goryeo. They also reveal the shocking truth that Liu used chronic poison to murder the late emperor. They teamed up with neutral officials and veteran Guo Ziyi to launch a final showdown in the court hall. After a shocking incident at the palace banquet, a rescue in the harem and other dangerous situations, they finally annihilated the Liu family's relatives group, avenged the injustice of the original owner's father, assisted the young emperor in stabilizing the imperial power, and restored the Qingming officialdom in Chang'an.