A modern scholar of ancient culture is transported to the Tang Dynasty, inhabiting the body of a seven-year-old impoverished boy. Determined to change his fate and give his mother a better life, he uses his advanced knowledge and poetic talent to excel in the imperial exams, earning fame as a prodigy. His brilliance propels him to become the youngest prime minister in Tang history.