Tang Yun traveled through time and became the son of Tang Poshan, a man from the County of Dayu Dynasty. The new emperor was afraid of the old nobles, and his father forced him to "defile himself" in order to protect the family. Tang Yun was ordered to stir up trouble in the Huang Palace to recruit a bride, but with his intelligence and "horseshoe" invention, he astonished Marshal Gong Wanjun, and fell in love with the smart and beautiful eldest lady Gong Jin'er. He discovered that his father's "self-destruction" was actually a warning that the remnants of the "Extinguishing Prisoners Camp" in the DPRK were embezzling Mexican military pay and having liaisons with foreigners. Tang Yun pretended to defect, cooperated with Wen Zongbo inside and outside, and dealt with the Weinan Prince, the weapons supervisor and other villains. Finally, with the help of Gong Jiner, he exposed the conspiracy, eliminated the villains, and finally got married.