Set in the Northern Song dynasty, the story revolves around Sheng Minglan, the unfavoured sixth daughter of an official. After being mistreated by her legal Mother
and bullied by her half-sisters, Minglan learns to hide her skills and true intentions, and ultimately succeeds in avenging her biological Mother
’s death. She meets Gu Tingye, who initially dislikes her but after witnessing her wits and intelligence, decides to help her. They eventually fall in love with each other. After Gu Tingye becomes a powerful official, he successfully makes Minglan his wife. As his wife, Minglan helps guard against his unpleasant relatives and purges the court of corrupt ministers. The couple eventually earned their happy lives, and Minglan rose to prominence as an influential figure of the Sheng family.