Chen Xuan, a graduate student in the Department of Modern History, accidentally traveled to the fictional Liang Dynasty and became a poor boy in a border county who was about to be exterminated by powerful men. Faced with the situation where the gentry monopolized the officialdom and the common people could never get ahead, he relied on his historical insight and modern knowledge to fight back all the way - entering the academy, passing the imperial examination, entering the court, taking charge of the military, suppressing rebellions, and resisting foreign enemies. He finally broke the monopoly of the gentry and ushered in a new era in which "people are not selected based on their family status, but based on their talents."