On the day of the birth of his newborn daughter Xiao Ning'an, Emperor Xiao Yan accidentally discovered that he could hear her daughter's voice, and thus learned that the five children he had cherished for many years were all the bastards of the queen who had fornicated with different men. Under the guidance of his daughter's voice, Xiao Yan resolutely deposed the queen, killed his son, and purged the court. He canonized his daughter Xiao Ning'an, his only true bloodline, as the eldest princess of the prison state. With his special ability to understand people's hearts, Xiao Ning'an became his father's most relied-upon think tank as he grew up, strategizing and pacifying border troubles. In the end, Xiao Yan abdicated the throne to his daughter, making her a generation of empress, and jointly created the "Rule of Yong'an".