In his previous life, Tuoba Yuanyi was an unpopular prince of the Great Xia Dynasty. Because of his naivety and kindness, he was gullible to those around him. He was framed by the queen, powerful officials and his younger brother, and he died unjustly. The dynasty was also destroyed by the invasion of foreign enemies. After being reborn, he returned to the critical time before being framed, determined to change his destiny. However, in order to retain power, the old forces in the palace tried their best to prevent him from regaining the right to inherit the throne. If he is not careful, he will lose his life. At the same time, the people he loved in his past life misunderstood him because of the rumors spread by the villain, which affected his judgment. When the dynasty faced foreign invasion, he had to stabilize the situation and resist foreign enemies within three months. In the process, the betrayal of his friend in his previous life plunged him into a crisis of trust. Relying on the memory brought by his rebirth, Tuoba Yuanyi saw through the villain's conspiracy, gradually resolved the predicament, and attracted allies when he was forced to join forces. He finally succeeded in revenge, stabilized the government, and resisted foreign enemies. However, after taking revenge, he discovered that some of his enemies were coerced by the mastermind behind the scenes, and his heart was full of bitterness.