Gu Wenqing, a modern college student, travels to the Tang Dynasty in a parallel world. With the help of modern knowledge, he resolves famine, manufactures glass, and prevents smallpox. From a rural boy, he becomes a prince and king, and finally fakes his death and lives in seclusion. In the prosperous Chang'an, he deals with the intrigues and aristocratic families, and finally becomes a legend.