Li Yan, a graduate student in the Department of History, was inspecting cultural relics in the Forbidden City when he suddenly traveled back in time to the eve of the Ming Dynasty's defense of Beijing. Li Yan used modern military knowledge to help Yu Qian improve firearms and win the defense of Beijing. He then led troops to the northern expedition to Oara, sealed the wolf in Xu, and welcomed back the Yingzong. During this period, he won the heart of Princess Shouning. Later, after the coup, Li Yan and the princess went overseas to establish a country.