During the Yuanxi era of Great Yan, the Duke of Zhenguo's family is massacred. The youngest daughter, Shen Qingci, is rescued by an old servant and lives among the people disguised as a man. Sixteen years later, she returns to the capital as the top candidate in the provincial imperial examination, with one goal: uncover the truth behind the tragedy and make her enemies pay in blood. But at court, she meets that man: Xiao Heng, the Ninth Prince. He appears gentle and refined, but is deeply calculating, the least conspicuous and most dangerous of the princes. From testing one another to joining forces in a game of wits, from flirtatious tension to trusting each other with their lives, they gradually uncover the vast conspiracy looming over Great Yan amid the treacherous court.