Sima Fang (149–219) was an Eastern Han official whose descendants became central to Chinese history. Through his 2nd son, Sima Yi, he was an ancestor of the ruling Sima clan of the Jin dynasty. His ancestral home was Wen County, in present-day Henan, and his father, Sima Jun, had served as Administrator of Yingchuan Commandery.
Beginning as a minor official in Henei Commandery, Sima Fang later became Prefect of Luoyang and Intendant of Jingzhao. In old age, he was reassigned as a Cavalry Commandant. He was devoted to the biographies of notable officials in the Book of Han and could recite more than 100,000 lines. Known for his solemn manner, he kept his distance from colleagues outside work and remained strict with his sons, even as adults. He died in 219, aged 71 by East Asian reckoning.
Accounts differed over his role in Cao Cao’s early career: one tradition credited Sima Fang with recommending Cao Cao for the post of Commandant of the North District in Luoyang, while another named Liang Hu. In 216, Cao Cao summoned him to Ye and jokingly asked whether he could still hold that post. Sima Fang replied that he had recommended Cao Cao because he believed him capable of doing the job. In 242, the Wei emperor Cao Fang posthumously honored him as Marquis Cheng of Wuyang, recognizing Sima Yi’s contributions.
Sima Fang had 8 sons, including Sima Yi and Sima Fu, and was an 11th-generation descendant of Sima Ang. Historical records usually gave his name as Sima Fang and courtesy name as Jiangong; fragments of a stone tablet discovered in Xi’an in 1952 instead identified him as Sima Fang (司馬芳), courtesy name Wenyu. His great-grandson Sima Yan later founded the Jin dynasty.