During the reign of Emperor Renzong of Song, Bao Zheng (played by Tam Chun-yin) takes office as the prefect of Kaifeng Prefecture, joining forces with his advisor Gongsun Ce (played by Cho Wing-lim), his guard Zhan Zhao (played by Cheung Chun-long), and four constables to crack down on corruption. Yun Qianyu (played by Wu Ting-yan), the daughter of a merchant, is eloquent and, under Gongsun Ce's guidance, becomes a litigation master; Ji Niannian (played by Yiu Chi-ling), a maidservant from Gaochang, is skilled in autopsy, and the two women together help the Seven Heroes of Kaifeng solve one bizarre case after another. Yet danger lurks everywhere within Kaifeng Prefecture. Grand Preceptor Pang (played by Lee Shing-cheong) is domineering and tyrannical, repeatedly plotting against Bao Zheng. Bao Zheng and Niannian share kindred spirits, and affection gradually grows between them—only for him to discover that her true identity conceals a grave conspiracy... Qianyu's father, Yun Zhongliu (played by Cheung Kwok-keung), harbors treacherous ambitions and even boldly declares that Emperor Renzong (played by Cheung Wing-hong) is no true Son of Heaven! Facing the most difficult case he has ever had to judge, will Bao Zheng bury his conscience for the sake of the realm—or reveal the truth?