Duan Xu, a modern social animal, accidentally traveled through the fictional Dayong Dynasty and was bound to the "modern habit correction system". He was forced to adhere to modern concepts such as everyone's equality and refusing to kneel before the powerful in the hierarchical ancient times. Starting from a poor scholar in a ruined temple, with the help of modern knowledge and systems, he counterattacked and won four consecutive cases in the county examination, government examination, and general examination, and became the number one scholar who shocked both the government and the public. After that, he teamed up with the prince to carry out reforms, reduce taxes, promote new crops, and rectify the administration. He faced the stranglehold of the conservative faction, the feudal king's rebellion, the mysterious organization Xuantiewei and foreign forces, and at the same time revealed the mystery of the life experience of his ancestors and Xuantiewei. He used modern thinking to leverage the ancient structure, and stuck to his true heart amidst the struggle for power and the righteousness of his family and country. He not only wanted to protect the achievements of the reform and the people of the world, but also had the obsession to return to modern times, and wrote a passionate and challenging ancient counterattack legend.