In the last years of the Dayin Dynasty, the imperial power declined and the princes became divided. Shen Yan, a scholar from a poor family, entered the official career with the ambition of governing the country and bringing peace to the world. However, in the turbulent court struggle, he witnessed the decline of the royal family and the chaos of powerful ministers taking power. In order to protect the justice in his heart and the common people, he resolutely threw himself into the troubled times.