LLMpediaThe first transparent, open encyclopedia generated by LLMs

Li Heng

Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: Xuanzong of Tang Hop 6 terminal

This article was accepted into the corpus but its outbound wikilinks were never NER-processed — typical at the deepest BFS hop or when the run's entity cap was reached. No expansion funnel to show.

Li Heng
NameLi Heng
Birth datec. 742
Death date820
OccupationHistorian, scholar, official
NationalityTang dynasty China

Li Heng was a Tang dynasty historian and scholar known for contributions to historiography, philology, and administrative scholarship during the late 8th and early 9th centuries. Active in the courts and academies of Chang'an, he engaged with contemporaries across political and intellectual circles, influencing compilations, commentaries, and archival practices. His work intersected with major figures, institutions, and texts of the Tang and earlier dynasties.

Early life and family

Born in the late 8th century near Chang'an, he came from a family linked to regional gentry and former officials who traced lineage to magistrates active in the Sui dynasty and early Tang dynasty. His kinship network included ties to households serving in the Guanzhong registers and to lineages with estates in Henan and Shaanxi. Relatives had served in prefectural posts such as the Jiedushi administrations and in the bureaucracies of Luoyang and Kaifeng. Early exposure to archival collections associated with the Imperial Library and private repositories influenced his interest in compiling and editing texts.

Education and career

Educated in the Confucian classics preserved in the academies of Chang'an and the Hanlin Academy precursor institutions, he studied under teachers who transmitted commentarial traditions tied to the Book of Han, the Records of the Grand Historian, and the Book of Later Han. He passed court examinations administered from the offices influenced by the Ministry of Rites and entered service in supervisory and editorial posts connected to the Palace Library and provincial archives in Jingzhao and Fengxiang. Colleagues included scholars from the circles of Du You, Liu Zongyuan, and members of the Seven Sages of the Guozijian-era networks. His career included appointments involving cataloguing the holdings of the Three Departments and Six Ministries, compiling epitaphs for officials of the Tang bureaucracy, and consulting on editions of canonical texts such as the Spring and Autumn Annals commentaries.

Contributions and works

He produced critical editions and commentaries on classical histories and on epitaph collections, contributing to the preservation of materials later cited by compilers of the Old Book of Tang and the New Book of Tang. His philological notes addressed variant readings found in manuscripts from the Dunhuang manuscripts cache, the Longmen inscriptions, and private collectors associated with the An Lushan Rebellion aftermath. He compiled biographical sketches used by scholars working on the Zizhi Tongjian and by compilers of the Taiping Yulan. His annotations engaged with scholarship by earlier figures including Sima Qian, Ban Gu, Pei Songzhi, and later commentators such as Ouyang Xiu and Sima Guang. He also contributed to legal-medical registers and to calendrical discussions referenced alongside works produced by the Taichang astronomical bureau and treatises influenced by the Qingliang school. Surviving excerpts indicate he worked on genealogical registers and on catalogues of Buddhist and Daoist texts that paralleled projects by the Kaiyuan Catalogue compilers.

Political involvement and public service

Serving in advisory and archival capacities, he advised magistrates in Fancheng and provincial administrations in Jiangxi and Hebei, and his opinions were sought during debates between factions aligned with patrons like Li Deyu and opponents associated with Yuan Zai. His records and memorials were used in deliberations at the Shangshu Sheng and were consulted by chancellors during policy discussions about tribute, taxation in Jiangnan, and reforms tied to the Huainan circuits. He accepted commissions from the court to survey damaged archives after the An Lushan Rebellion and worked with officials involved in restitution projects under emperors such as Emperor Xianzong of Tang and Emperor Muzong of Tang. His public service combined scholarly duties at the Hanlin Academy-style bureaus with roles in provincial administration and in compiling official gazetteers.

Personal life and legacy

He maintained correspondence with leading literati, scribes, and collectors including those connected to the libraries patronized by Empress Wu Zetian's descendants and by aristocratic houses in Luoyang. His descendants continued in bureaucratic and scholarly service, contributing materials to later historiographical projects during the Five Dynasties and Ten Kingdoms period. Later historians and editors cited his compilations when assembling the Old Book of Tang, the New Book of Tang, and historical syntheses by Sima Guang; philologists referenced his orthographic notes when working on annotated editions of the Shiji and the Hanshu. His influence persisted in archival practices in the imperial capital and in provincial collections, informing the preservation strategies enacted by scholars of the Song dynasty and by compilers of major encyclopedic works like the Yongle Encyclopedia. Category:Tang dynasty historians