During the Wanli era of the Ming Dynasty, the young emperor Zhu Yijun ascends the throne amid domestic turmoil and foreign threats. Within the empire, the powerful Zhang Juzheng controls the court, while Japanese pirates raid the coast and Mongol tribes threaten the frontier. Zhu Yijun intends to restore imperial authority and free himself from the powerful minister's control, while Zhang Juzheng uses his wisdom and power to protect his position. Through the conflict between emperor and minister, the novel depicts the complex and ever-shifting struggles at court.