Lin Yan, a graduate student in the Department of Modern History, accidentally traveled to the fictional "Dayan Dynasty" and became a poor boy in a small town in the south of the Yangtze River. At that time, the dynasty was experiencing internal and external troubles - powerful enemies were lurking in the north, vassal towns were separatist in the south, party struggles in the court were fierce, and people's livelihood was in decline. Relying on modern knowledge and historical perspective, Lin Yan used the imperial examination as a springboard to enter the officialdom. He worked step by step in the turbulent vortex of power, carried out reforms, rectified the administration of officials, enriched the country and strengthened the army, and finally assisted the new emperor in creating a prosperous era of Zhongxing.