Zhao Bufan, a graduate student in modern history, traveled through Yuanyou in the Northern Song Dynasty for three years and became the most insignificant clerk in Dali Temple. He originally wanted to cling to the thighs of Su Shi, Su Che and other literati groups and live a stable life, but he accidentally got involved in a huge conspiracy related to the "old and new party struggles" and the "Xifeng Miyin". In the whirlpool of grievances between Renzong, Yingzong, Shenzong, and Zhezong, how will he use his thousand-year wisdom to change his destiny and protect this prosperous and dangerous city that is about to sink?