Li Kuan traveled through time and became the second prince of the Tang Dynasty. He outsmarted the third prince, dealt with the locust plague, and used glass bottles to raise food for disaster relief. Later, he dealt with Pei Ji, the leader of the aristocratic family, and went to Xiangcheng to defeat the Turks and capture the Turks Khan. He also defeated Goryeo Wen Dou's conspiracy and made him surrender. Pei Ji colluded with the Japanese pirates, and Li Kuan put down the rebellion, killed Pei Ji and the Japanese pirate leaders, and finally assembled warships to conquer the Japanese country.