Li Xiao, a top student in modern history, accidentally travels back to the Hongwu period of the Ming Dynasty and possesses the body of a poor scholar who committed suicide after failing. With his advanced knowledge and treasure trove of Chinese poetry, he swept through the imperial examinations starting from the county examination. However, he was deliberately suppressed by Zhu Yuanzhang because of his radical ideas in the palace examination. After being assigned to a small border county, he invented glass, improved tea art, revitalized industry and commerce, and turned a barren land into a prosperous town. As he was recalled to the capital for his outstanding political achievements, he dealt with Zhu Yuanzhang and the aristocratic family, using modern wisdom to promote a quiet dynastic change.