Zongli Yamen
Sun Yuting's third son, Sun Ruizhen (孫瑞珍; 1783–1858), obtained a "jinshi" position in the imperial examination in 1823 and served in the Hanlin Academy and as Secretary of Revenue. Sun Ruizhen's son, Sun Yuwen (孫毓汶; 1833–1899), obtained the second highest position in the imperial examination in 1856 and served as Secretary of Defence and head of the Zongli Yamen (Foreign Affairs Ministry). One of Sun Ruizhen's grandsons, Sun Ji (孫楫; 1827–1902), obtained a "jinshi" position in the imperial examination in 1852 and served as the Prefect of Shuntian Prefecture.