Chen Yan, a doctor of modern history, accidentally fell into an underground river while conducting archaeological research on Tang Dynasty ruins. His soul traveled to the Kaiyuan period of Emperor Xuanzong of the Tang Dynasty and became Li Yan, an eight-year-old boy from a poor farmer's family on the banks of the Wei River.
Relying on his familiarity and knowledge reserve of the history of the Tang Dynasty, he first improved farm tools and drinking water to help his family get out of poverty, and then persuaded his parents to study. From private school to county school and government school, he rose to prominence along the way. Later, he went to Chang'an to rush for the examination. After passing the provincial examination and the palace examination, he was appreciated by Xuanzong for his unique insights and won the top prize in high school.
After becoming an official, he faced the factional disputes in the court, provided disaster relief and punished corruption, and even foresaw the hidden dangers of the "Anshi Rebellion". When troubled times broke out, he led troops to serve the king and cooperated with famous generals to fight against the enemy. After the war, he presided over reconstruction and single-handedly tried to delay the decline of the Tang Dynasty. He wrote a legend from a modern scholar to a mainstay of the Tang Dynasty.