In the last years of the Liang Dynasty, Emperor Xiao Yan was old and feeble. The princes were vying for the throne and showing off their magical powers. There was a atmosphere of chaos inside and outside the court. Yan Shu, the seventh son of the emperor, lost his biological mother at an early age and was struggling in the palace. However, he rose to prominence step by step with his extraordinary wisdom and forbearance. He made friends with wise men, secretly accumulated strength, and dealt with various forces in the DPRK and China. In the process, he gradually fell in love with his childhood sweetheart Gu Wan, but for the sake of power and revenge, he had to make many choices that went against his conscience. In the end, Yan Shu went through many hardships, exposed the conspiracy of He Lanmin and Yan Li, put down the civil strife in the court, and ascended to the throne, but at the same time he also lost many precious things. He worked hard to revitalize the government and eventually became a wise king. However, the loneliness and price behind power were always with him.