Chen Yan, a graduate student in the Department of Modern History, accidentally time-traveled and became an ordinary attendant in the palace of the later master Liu Chan at a time when the Shu Han's national power was declining and people were panicked after the defeat in the Battle of Yiling. He has no extraordinary powers, only the detailed historical context and modern basic governance knowledge in his mind. Facing Liu Chan, who was "unsupportable" in the eyes of the world, Chen Yan knew that Shu Han was not without hope, so he gradually gained trust with pragmatic strategies. He advised Liu Chan to refrain from extravagance and work hard to govern, and helped Zhuge Liang to reorganize the internal affairs, optimize the agricultural and mulberry tax system, and promote improved agricultural tools to increase grain reserves; in Nanzhong, he provided suggestions to calm the tribes and avoid wasted war; in the court, he reconciled the conflicts between the parties and united the hearts of the people. During Zhuge Liang's Northern Expedition, he provided logistical dispatching methods and border defense strategies to make up for the shortcomings of the grain road. After Kongming's death, he assisted Liu Chan in stabilizing the situation in the court, followed good strategies, united with Soochow to contain Cao Wei, and gradually encroached on the land of Yongliang. For decades, Chen Yan used his mortal wisdom to assist Liu Chan in getting rid of his reputation as a fool. He led the Shu Han people to work hard and accumulate strength, and finally broke the Three Kingdoms situation. He conquered the Central Plains in the north, captured Bashu in the west, pacified the barbarians in the south, and united with Wu and Yue in the east. He completed the great cause of unification and rewrote the historical fate of the collapse of the Shu Han and Liu Chan's "lucky to miss Shu".