Set in the Northern Song dynasty, the story follows Sheng Ming Lan, an unfavored concubine-born 6th daughter of an official. After losing her mother at a young age, Ming Lan is raised by her paternal grandmother. Growing up, she learns to hide her true genius self and use crafty and cunning methods in order to survive the tough conditions where family members are plotting against each other and where no actual familial