In an accident, Li Junhao, who was born in modern society, died unexpectedly. He was reborn and traveled to ancient times, possessing the Emperor of the Liang Dynasty who also died in an accident. The prince's daughter is a childhood sweetheart who is both close and enemies, and her relationship with the court's sycophant is like a master and apprentice. Taking advantage of a major case in which embezzlement of public funds led to the collapse of a city wall, he united with loyal ministers and eradicated the corruption group headed by the emperor's uncle in one fell swoop.