The male protagonist traveled through time to the prosperous age of Zhenguan and became the magistrate of Wugong County. On the way to Chang'an, he met Princess Changle who was attacked by assassins. The princess deliberately concealed her royal identity. Looking at the seriously injured woman, the male protagonist felt pity and took her back to the county government to take good care of her. Later, the emperor and Empress Changsun came to inspect and expressed their feelings that the people in the small town lived and worked in peace and contentment. Li Chengqian and Chang Sun Chong were worried and deliberately created barriers, but the male protagonist relied on foresight and wisdom to properly resolve the dispute. He cared about the people's diligent governance and gained the trust of the emperor and his ministers. He went to Chang'an with his confidants and displayed his ambitions in the court.