Chen Mo, a modern engineer, was framed and traveled through time to become Xiao Ce, the dandy king of the Daqi Dynasty. He knew that Daqi would be destroyed by the rebels in ten years, and that he would die at the hands of the rebels at the age of 28. In order to change his destiny, Chen Mo relied on modern knowledge to secretly plan for eight years: improving gunpowder and training new troops. During this period, he met Su Qing, a female doctor who also traveled through time, and the two joined forces. Chen Mo defeated the enemy with a homemade firearm array, and then established a workshop in Jiangnan to create a prototype of a steam engine, setting the Daqi Dynasty on the road to strengthening its military through science and technology.