Read two thousand family books in childhood; passed the jinshi examination after declaring his aspiration to write histories.
Wei Shu (韦述)
韦述
Wei Shu (died 757) was a native of Wannian County, Jingzhao (modern Xi'an, Shaanxi Province). He was the great-grandson of Minister of Agriculture Wei Hongji and the son of Regional Inspector of Fangzhou Wei Jingjun. He was an eminent historian, bibliographer, and book collector of the Kaiyuan and Tianbao eras of the Tang Dynasty, recognized as the supreme synthesizer of High Tang historiography, rising to Vice Minister of…
PROFILE
Wei Shu (died 757) was a native of Wannian County, Jingzhao (modern Xi'an, Shaanxi Province). He was the great-grandson of Minister of Agriculture Wei Hongji and the son of Regional Inspector of Fangzhou Wei Jingjun. He was an eminent historian, bibliographer, and book collector of the Kaiyuan and Tianbao eras of the Tang Dynasty, recognized as the supreme synthesizer of High Tang historiography, rising to Vice Minister of Works and Academician of the Hall of Assembled Worthies while being ennobled as Marquis of Fangcheng. Endowed with exceptional intellect from boyhood, Wei Shu mastered his family's collection of two thousand volumes without forgetting a single passage. During the Jinglong era, he took the jinshi examination at an unusually youthful age. When examiner Song Zhiwen asked about his aspirations, Wei Shu replied that his sole lifelong passion was composing histories, prompting Song Zhiwen to praise him as a contemporary Sima Qian and Ban Gu. In 717, Emperor Xuanzong commissioned Wei Shu alongside Yuan Xingchong and Wu Jing to catalog national manuscripts inside the imperial archives, completing the monumental two-hundred-volume Catalogue of Books in the Four Categories over five years. He possessed profound expertise in genealogy, hand-copying the genealogical records of Liu Chong to compile the twenty-volume Kaiyuan Genealogy. Grand Chancellor Zhang Yue appointed him Attendant Academician in the Hall of Assembled Worthies, honoring him alongside Zhang Jiuling and Xu Jingxian as elite pillars of state letters. Wei Shu served in the imperial book repositories for forty years, holding executive charge over the Imperial Historiographical Office for two full decades. Synthesizing incomplete drafts compiled by Linghu Defen and Wu Jing over generations, he unified historiographical methods to author the 112-volume National History alongside a volume of editorial principles, distinguished by concise elegance and meticulous detail, earning comparisons by scholar Xiao Yingshi to celebrated classical historians Qiao Zhou and Chen Shou. His private library housed over twenty thousand volumes, collated and annotated with his own brush, far surpassing the emperor's forbidden palace collections. When the An Lushan Rebellion broke out and Chang'an fell, Wei Shu risked his life to carry the original manuscript of the National History into the deep ravines of the Zhongnan Mountains, safeguarding the primary historical record of the High Tang. Later captured by rebels and forced to accept a nominal post, he was banished to Yuzhou following the capital's liberation in 757, starving himself to death after suffering abuse from the regional governor. In 764, Emperor Daizong recognized his extraordinary merit in saving the national archives, posthumously conferring upon him the rank of Right Policy Advisor.
- Ancestral Home
- Wannian County, Jingzhao (modern Xi'an, Shaanxi Province)
- Date of Death
- 757 (2nd year of the Zhide era, Tang Dynasty)
- Highest Office
- Vice Minister of Works, Academician of the Hall of Assembled Worthies, Director of Historiographical Affairs, Commissioner of Ritual Ceremonies (posthumously honored as Right Policy Advisor)
- Major Offices
- County Defender of Yueyang, Right Reminder, Senior Diarist of the Imperial Diary, Attendant Academician of the Hall of Assembled Worthies, Vice Director of Agricultural Colonies, Director of Ministry Personnel, Libationer of the Directorate of Education, Left Advisor to the Crown Prince, Vice Minister of Works
- Noble Title
- Founding Marquis of Fangcheng County
- Accurate Identity
- Illustrious historian, bibliographer, and bibliophile of the High Tang, veteran director of the Imperial Historiographical Office who single-handedly authored the 112-volume National History
LIFE TIMELINE
Appointed by imperial edict to the Secret Archives, compiling the two-hundred-volume Catalogue of Books over five years.
Hand-copied genealogical compendia day and night, authoring the independent twenty-volume Kaiyuan Genealogy.
Sponsored by Grand Chancellor Zhang Yue as Attendant Academician and Senior Diarist, revered alongside Zhang Jiuling.
Appointed Vice Director of Colonies and Director of Personnel while directing the Historiographical Office to compile dynastic history.
Completed the 112-volume National History and its editorial statutes, recognized across the empire as a masterwork.
Promoted to Vice Minister of Works, Commissioner of Ritual Ceremonies, and ennobled as Marquis of Fangcheng; private library held 20,000 volumes.
The An Lushan Rebellion erupted; abandoned family wealth to carry the original National History into the Zhongnan Mountains.
Chang'an fell; captured while searching for provisions and compelled into nominal rebel office, enduring intense grief.
Exiled to Yuzhou after imperial forces liberated the capital; starved himself to death after suffering humiliation from local officials, and was posthumously honored as Right Policy Advisor in 764 for preserving the National History.
Relationship graph
BIOGRAPHY
Biography
Aristocratic Scholarship and Precocious Examination Success
Wei Shu belonged to the prestigious Jingzhao Wei clan, a towering aristocratic lineage of Guanzhong. He was the great-grandson of Minister of Agriculture Wei Hongji and the son of Wei Jingjun, who served as Magistrate of Feixiang and Regional Inspector of Fangzhou. The family maintained an illustrious tradition of classical learning, preserving a private library containing more than two thousand scrolls of histories and philosophical treatises. Endowed with precocious intellectual abilities, Wei Shu read and memorized the family's entire book collection while still a youth, composing sophisticated prose with astonishing rapidity and moving elders to marvel at his brilliance.
During the Jinglong era, Wei Jingjun assumed office as Magistrate of Feixiang, and Wei Shu accompanied his father to the prefecture. At that time, renowned Confucian scholar Yuan Xingchong served as Regional Inspector of Mingzhou. Related as a maternal cousin to Wei Jingjun, Yuan Xingchong traveled with several carriage loads of rare manuscripts. Visiting Yuan Xingchong's library, Wei Shu became engrossed in reading, forgetting sleep and food. Astonished by his devotion, Yuan Xingchong questioned him on dynastic administrative histories from the Zhou and Han to the Six Dynasties, finding that the youth dissected historical precedents with effortless mastery. When tested with prose composition, Wei Shu completed eloquent essays on the spot. Overjoyed, Yuan Xingchong seated the young boy beside him, exclaiming that he was a peerless treasure of their maternal lineage.
Soon after, Wei Shu traveled west to the capital to participate in the imperial jinshi examination. Extremely youthful and diminutive in physical stature, his presence drew the attention of examiner Song Zhiwen. The examiner inquired with curiosity what achievements a scholar of his tender age possessed. Wei Shu replied with composed dignity that his sole lifelong dedication was compiling histories, noting that he had already drafted thirty volumes of the Spring and Autumn Annals of Tang, desiring only to complete the work, awaiting the examiner's tests for literary prose. Impressed by his lofty intellectual purpose, Song Zhiwen praised him as a contemporary Sima Qian and Ban Gu. Wei Shu passed the examination with honors that year, winning wide acclaim across the twin capitals.
Archives Collation and Compiling the Imperial Catalogue
In the early Kaiyuan era, Wei Shu began his official career as County Defender of Yueyang. In 717, Emperor Xuanzong recognized that imperial libraries had suffered dispersion and commissioned Palace Library Director Ma Huaisu to supervise a comprehensive collation of national holdings. Ma Huaisu petitioned the throne to select twenty-six preeminent scholars to examine the four categories of literature in the Forbidden Secret Archives, appointing Wei Shu alongside Yuan Xingchong, Qi Han, Wu Jing, and Yin Jianyou.
Following Ma Huaisu's passing, Yuan Xingchong directed the enterprise. Over five years of rigorous collation, Wei Shu verified missing texts, collaborating with his peers to produce the monumental two-hundred-volume Catalogue of Books in the Four Categories. While working in the archives, Wei Shu discovered the two-hundred-volume Lineage Records compiled by Liu Chong. Recognizing its value, Wei Shu transcribed the entire work by hand during his evening leisure, carrying sections home night after night for a full year. Mastering the origins and migrations of Chinese aristocratic clans, he authored the independent twenty-volume masterpiece Kaiyuan Genealogy.
Grand Chancellor Zhang Yue took charge of the Hall of Assembled Worthies, gathering literary scholars of the realm. He appointed Wei Shu as Attendant Academician and promoted him to Senior Diarist of the Imperial Diary. Zhang Yue held Wei Shu in the highest regard, placing him alongside Zhang Jiuling, Xu Jingxian, Zhao Dongxi, and Sun Ti. Because six brothers of the Zhao family and six brothers of the Wei family (including Wei Shu, Wei Di, and Wei You) all passed the examinations through literary excellence, Zhang Yue praised them as the finest cedar timbers of contemporary civilization.
Leading the Historiographical Office and Authoring the National History
In 730, Wei Shu officially received the portfolio of Director of Historiographical Affairs, serving concurrently as Vice Director of Agricultural Colonies, Director of Ministry Operations, and Director of Personnel while retaining his historiographical commission. When Zhang Jiuling became Grand Chancellor in 735, he treated his former colleague with profound respect; Chancellor Pei Yaoqing was Wei Shu's maternal uncle, and both chancellors regularly consulted Wei Shu on institutional precedents, extending audiences past sunset. In early Tianbao, Wei Shu served as Left and Right Advisor to the Crown Prince, receiving the honorary title Grand Master of Splendid Happiness. In 750, he was appointed Commissioner of Ritual Ceremonies and Vice Minister of Works, ennobled as Founding Marquis of Fangcheng County.
Wei Shu labored in the imperial book repositories for forty years, directing the Imperial Historiographical Office for twenty years. Dedicated to scholarship, he held a book in his hands at all times. Since Linghu Defen commenced the compilation of Tang dynastic records under Emperor Gaozu, successive generations of court historians down to Wu Jing had collected daily records and imperial transcripts, yet because editorial standards conflicted, they had failed to produce a unified dynastic chronicle.
Employing extraordinary historiographical vision and editorial discipline, Wei Shu harmonized disparate accounts, pruned superfluous verbiage, and verified conflicting narratives. Single-handedly, he authored the complete annals-biographical chronicle—the 112-volume National History, accompanied by a single volume of historiographical principles. The work was celebrated for its balanced conciseness, comprehensive precision, and unsparing truthfulness in recording sovereign deeds, leading scholar Xiao Yingshi to acclaim Wei Shu as a worthy successor to classical historians Qiao Zhou and Chen Shou. His work served as the indispensable primary source for both the Old Book of Tang and New Book of Tang.
Monumental Private Library and Virtuous Character
Wei Shu was known for serene benevolence, modest integrity, and indifference to political intrigue. Despite his high ministerial office, he welcomed visiting scholars without regard to aristocratic rank, receiving humble students with full ceremonial courtesy.
His paramount lifelong passion lay in accumulating books, inscriptions, and ancient calligraphic rubbings. Pouring his official salaries into acquiring rare texts across four decades, his private residence accumulated more than twenty thousand volumes. Every manuscript was personally collated, punctuated, and corrected with cinnabar ink, earning the admiration of contemporary scholars who noted that his private library surpassed the emperor's secret palace collections.
Beyond classical treatises, Wei Shu gathered ancient bronzes, portraits of famous historical statesmen, hundreds of authentic cursive and clerical scrolls from the Wei and Jin dynasties, stone steles, medicinal formulas, administrative codes, ancient coin catalogs, imperial seal albums, and personal letters from celebrated High Tang ministers, preserving a cultural treasury unequaled in his era.
Preserving Dynastic History and Martyrdom in Yuzhou
In the eleventh month of 755, An Lushan launched his rebellion from Fanyang, sweeping across northern China. In the summer of 756, Tongguan fell, Emperor Xuanzong fled south to Sichuan, and the twin capitals fell to rebel forces. Amidst nationwide collapse, as the palaces and residential wards of Chang'an burned, Wei Shu's private estate and tens of thousands of collected books were reduced to ashes.
Faced with the destruction of his life's collection, the sixty-year-old historian thought nothing of personal wealth or life. His sole concern was preserving the 112-volume original manuscript of the National History. Carrying the heavy manuscript sacks upon his shoulders, he slipped through the chaotic city gates and fled into the rugged ravines of the Zhongnan Mountains, concealing the precious volumes inside a secure mountain cave.
Venturing from the wilderness to forage for food, Wei Shu was captured by rebel cavalry and taken to Luoyang. An Lushan established a rebel administration and forced Wei Shu to accept a nominal office. Wei Shu pleaded illness and refused active duties. Following the liberation of Chang'an and Luoyang in the autumn of 757, imperial tribunals investigated officials who had remained in occupied territories. Deemed compromised by his nominal office, Wei Shu was stripped of rank and banished to remote Yuzhou (modern Chongqing).
Arriving at his place of exile, local governor Xue Shu, an opportunistic and malicious bureaucrat, subjected the fallen statesman to daily verbal abuse and physical deprivation. Possessing unblemished self-respect, Wei Shu was deeply humiliated by such indignities, declaring that an upright scholar could never endure insults from cruel officials. He went on a hunger strike, refusing all food for days before passing away peacefully in the exile post station.
In 764, his nephew Xiao Zhi, serving as administrative secretary to Grand Commandant Li Guangbi, submitted a tearful memorial during an audience with Emperor Daizong. Xiao Zhi emphasized that during the panic of 756, his uncle had risked his life to preserve the 112-volume National History in the mountains, ensuring that the records of the founding generations of the Tang Dynasty remained intact for posterity. Deeply moved, Emperor Daizong issued an imperial edict recognizing his extraordinary service in preserving dynastic memory, posthumously elevating Wei Shu to the third rank as Right Policy Advisor, permanently exonerating the illustrious historian.
Major Achievements
Single-Handedly Authoring the 112-Volume National History
Beginning with Linghu Defen in the early Zhenguan era and continuing through Wu Jing, the compilation of Tang dynastic history remained fragmented. During his two decades directing the Historiographical Office, Wei Shu unified the entire scope of the project, independently authoring the 112-volume National History and a volume of editorial principles spanning the reigns from Emperor Gaozu to the Kaiyuan era of Xuanzong. Noted for its rigorous impartiality and meticulous factual accuracy, the work was celebrated as a masterpiece matching the Records of the Three Kingdoms, serving as the foundational core text for both dynastic Books of Tang.
Compiling Imperial Catalogues and the Four Categories Corpus
From 717 to 722, Wei Shu served as a core compiler of the two-hundred-volume Catalogue of Books in the Four Categories, systematically cataloging the imperial manuscript archives. Concurrently, he conducted exhaustive genealogical research to produce the twenty-volume Kaiyuan Genealogy and specialized bibliographies including the Catalogue of the Hall of Assembled Worthies, establishing an enduring monument in classical Chinese bibliography.
Amassing a Private Library Surpassing the Imperial Collections
Throughout his life, Wei Shu dedicated his resources to bibliographical preservation, amassing over twenty thousand volumes, every one collated and corrected by his own hand. His collection incorporated ancient bronzes, hundreds of authentic Six Dynasties calligraphic scrolls, epigraphic rubbings, and monetary catalogs, establishing a private collection whose breadth and textual accuracy exceeded even the palace libraries of Emperor Xuanzong.
Concealing the National History in the Mountains to Save Tang Memory
During the cataclysm of the An Lushan Rebellion when Chang'an was looted and burned, Wei Shu cast aside his worldly fortune and personal safety to carry the complete manuscript of the National History into the deep ravines of the Zhongnan Mountains. By hiding the texts within mountain caves, he ensured that the foundational records of the Tang Dynasty survived the fires of war, writing an immortal chapter of devotion in the history of East Asian archival preservation.
Personal Relationships
- Great-Grandfather: Wei Hongji, Minister of Agriculture under Emperor Gaozong.
- Father: Wei Jingjun, Magistrate of Feixiang and Regional Inspector of Fangzhou.
- Maternal Uncle: Pei Yaoqing, Chancellor of Tang, renowned hydraulic reformer.
- Cousin and Mentor: Yuan Xingchong, Left Policy Advisor and classical scholar, who introduced Wei Shu to imperial archival compilation.
- Examination Patron: Song Zhiwen, Vice Director of Merit Assessment, who examined Wei Shu and praised him as Sima Qian.
- Sovereign Patron: Zhang Yue, Grand Chancellor and President of the Hall of Assembled Worthies, who sponsored Wei Shu.
- Academic Colleague: Zhang Jiuling, renowned chancellor and fellow scholar in the Hall of Assembled Worthies.
- Vindicating Nephew: Xiao Zhi, military secretary to Li Guangbi, who petitioned Emperor Daizong to posthumously rehabilitate Wei Shu.
- Historiographical Admirer: Xiao Yingshi, prominent High Tang Confucian master, who celebrated Wei Shu's historical genius.
- Oppressive Inquisitor: Xue Shu, Governor of Yuzhou, who abused Wei Shu in exile and drove him to starve himself to death.
Historical Evaluations
- Song Zhiwen: We sought extraordinary talent, and we have truly discovered a contemporary Sima Qian and Ban Gu!
- Yuan Xingchong: This youth is truly the supreme treasure of our maternal house.
- Zhang Yue: The sons of the Zhao and Wei lineages are the finest cedar timbers of our time.
- Xiao Yingshi: Vice Minister Wei Shu possesses the rare genius of a consummate historian, truly belonging to the noble ranks of Qiao Zhou and Chen Shou.
- Liu Xu in Old Book of Tang: Wei Shu dwelled in the imperial book repositories for forty years, presiding over the historiographical office for twenty years, devoted to scholarship without ever dropping his brush. From Linghu Defen to Wu Jing, dynastic history was compiled across generations yet never attained a unified voice until Wei Shu established editorial principles, filled lacunae, and authored the 112 volumes of the National History—concise yet comprehensive, displaying the supreme form of a virtuous historian.
- Song Qi in New Book of Tang: Since the Kaiyuan era, no lineage matched the brilliance of the Wei clan... In historiographical genius and vast erudition, Wei Shu stood foremost. All his writings towered above his contemporaries.
Related Entries
- National History
- Catalogue of Books in the Four Categories
- Zhang Yue
- Yuan Xingchong
- Wu Jing
- An Lushan Rebellion
- Zhongnan Mountains
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Old Book of Tang, Volume 102, Biography 52, Biography of Wei Shu
- New Book of Tang, Volume 132, Biography 57, Biography of Wei Shu
- Complete Tang Prose, Volume 429, Memorial by Xiao Zhi Presenting Wei Shu's National History
- Tang Huiyao (Institutional Statutes of Tang), Volume 63, Historiographical Bureau II
- Zizhi Tongjian, Volume 211, Tang Record 27