Lin Yue, a modern 19-year-old engineering geek who died suddenly while staying up late to work on a project, was transformed into the new emperor Yinyao (a fictional young emperor to avoid completely overlapping with the real historical emperor) who had just narrowly defeated the "nine sons to win the throne" in the late Kangxi period of the Qing Dynasty. At the beginning, the throne was unstable, the treasury was empty, and conservatives were surrounded. He relied on modern engineering knowledge and cynical "counter-routines" to step by step engage in science and technology, train the new army, fight conservatives, and fight against foreign devils. Eventually, he rewrote the history of modern humiliation and turned the Qing Dynasty into a "technological power."