Zhou Jin, a top student in the history department, traveled through time and became the young bandit master of Qinglong Village. In order to clean up the village and allow everyone to live in peace, he insisted on taking the imperial examination. Faced with the vicious "support" of his family and all kinds of difficulties and frame-ups by Li Wenbo and his son, he relied on modern knowledge and wisdom to resolve the crisis, win the county examination case, and get acquainted with the county magistrate and the beauty Liu Shuyao. Later, he was suppressed by unfair imperial examinations and treacherous ministers, but was unexpectedly entrusted by the emperor to pass on the imperial seal. He led troops to the border to quell the barbarians and civil strife, and finally eradicated the traitors. He not only fulfilled his dream of becoming the top scholar, but also led his family to live a stable life.