In the early years of Emperor Renzong of Song, Empress Dowager Liu ruled from behind the curtain, leaving the orphaned young emperor and his mother vulnerable while ambitious officials and disloyal factions stirred restlessly, and the political winds at court shifted unpredictably. Amid the fierce contest among rival powers, the post of Prefect of Kaifeng, the capital's chief administrator, ultimately fell to Bao Zheng (played by Li Chuan), a newly minted examination graduate with no powerful backing. The capital's thorniest cases—those too tangled for any faction to resolve to its own advantage—were all handed over to Bao Zheng. To everyone's surprise, he proved remarkably gifted at solving crimes, cracking several major cases in succession and quickly making a name for himself. He befriended a circle of loyal companions and became a trusted confidant of Emperor Renzong. But Bao Zheng's rise threatened the interests of certain people, and he became the target of assassins sent by various factions. Bao Zheng began to fight back, and in the course of outwitting and battling the forces of evil, he continually solved bizarre and major cases, ultimately becoming the beloved "Justice Bao" of the people.