A female college student who is proficient in the legal history of the Ming and Qing Dynasties and criminal investigation analysis penetrates into the harem of "The Legend of Zhen Huan" and becomes a beautiful girl of the same generation as An Lingrong (but from a lower family background). She has no system, no panacea, no mind-reading skills, only a seemingly useless "Taobao store for legal historical materials of the Ming and Qing Dynasties". But this Taobao store can automatically identify all crime scenes in front of her, and accurately push the corresponding legal provisions of the Qing Dynasty, typical cases and precedents, and detailed transcripts of the Ministry of Criminal Justice's investigation of such cases. What others fight for in the harem is affection and favor, but what Yan Wan fights for is the chain of evidence and jurisdiction. She overturned Concubine Hua with the "Ministry of Justice's Review Standards for the Huan Yixiang Case"; she used "the evidence of a blood test is illegal" to help Zhen Huan overturn the case; and she frightened the Queen's courage with the "Regulations on the Extermination of the Harem's Political Involvement". Finally, the emperor transferred her from the harem to the Ministry of Punishment as the chief judge, responsible for the unjust, false and wrong cases of the Qing Dynasty.