Modern archaeologist Shen Yuan traveled through time and became the captain of the Yingyang Mansion in the late Sui Dynasty. With historical knowledge and scientific and technological thinking, he grew from a refugee avoiding conscription to a key figure influencing the pattern of the early Tang Dynasty. Through technological innovations such as improving farm tools, developing metallurgy, and creating ordnance, he helped Li Shimin win the competition among heroes, and finally established a new civilization system that combined traditional wisdom with the budding modern science and technology.