Bāo Zhěng 包拯 (999–1062), zì Xīrén 希仁, posthumous Xiàosù 孝肅, was the most famous incorruptible official of the Northern Sòng — and, through dramatic and novelistic transmission, the canonical image of the upright magistrate in the entire later Chinese tradition. A native of Lúzhōu Héféi 廬州合肥 (modern Hefei, Anhui), he passed the jìnshì in Tiānshèng 5 (1027) but declined office for a decade to care for his elderly parents (a celebrated act of filial piety). On entering office in 1037 he served as magistrate of Tiāncháng 天長, prefect of Duānzhōu 端州 (Guǎngdōng), then in Kāifēng-prefecture as both Zhī kāifēngfǔ 知開封府 (governor of the capital) and Yùshǐ zhōngchéng 御史中丞 (Vice Censor-in-Chief). His final senior appointment was as Shūmì fùshǐ 樞密副使 (Vice Commissioner of the Bureau of Military Affairs); after death he was promoted Lǐbù shàngshū 禮部尚書 with the Xiàosù posthumous title.

Bāo Zhěng’s contemporary reputation rested on three pillars: unflinching impeachment of corrupt officials (most famously his persistent attacks on Zhāng Yáozuǒ 張堯佐 — a relative-by-marriage of Rénzōng — and on Wén Yànbó 文彥博); rigorous personal incorruptibility (the legend that he refused all gifts, even from a relative, derives from documented memorials in his collected works); and reform of the Kāifēng-prefecture judicial procedure, opening the prefectural gate to allow direct petition rather than mediation by clerks.

His memorials are preserved in the KR2f0013 Bāo Xiàosù zòuyì jí 包孝肅奏議集 in 10 juàn, edited by his student Zhāng Tián 張田 (1054–1103) shortly after Bāo’s death. The 30-category arrangement and 1062-vintage prefatory text by Wāng Yìngchén 汪應辰 are documented in the Sìkù tíyào. Sòng shǐ j. 316 has his biography. CBDB id 1411.

The fictional and operatic figure of Bāo Qīngtiān 包青天 / Bāo gōng 包公 — adjudicator of unjust deaths, husband of supernaturally upright wives, scourge of corrupt princes — derives from the late-Sòng and Yuán huàběn and zájù traditions, especially the Bāo dàizhì pò Xiè dà Wáng 包待制破解大王 cycle. The fictional figure should be sharply distinguished from the historical official, but the two are inseparable in Chinese popular memory.