Due to a laboratory explosion, Su Mingli traveled through time and became a seven-year-old farmer. He was able to enter school by reciting "The Thousand-Character Essay". On the way to school, he was repeatedly framed and made things difficult by his cousin Su Mingzhi, Liu, Li and others. He raised money to prepare for the exam by writing the storybooks of "The Red Mansion" and "Journey to the West". He refused the emperor's offer of marriage and the prince's solicitation, and resolutely returned to his hometown to serve as the magistrate of Qinghe County. He quelled the provocations of the Liu family, dealt with his crazy cousin, and determined to establish education, educate the people, and protect his homeland.