Born into a distinguished scholarly lineage in Dunhuang; displayed profound intellect and classical aptitude.

Image credits
Authors of the study: Tianda Fu, Xiaomeng Liu, Hongyan Gao, Joy E. Ward, Xiaorong Liu, Bing Yin, Zhongrui Wang, Ye Zhuo, David J. F. Walker, J. Joshua Yang, Jia · CC BY 4.0Image sourceLiu Bing (刘昞)
刘昞
Liu Bing (刘昞; d. 440), courtesy name Yanming and styled Master Xuanchu, was a native of Dunhuang Commandery, Shazhou (present-day Dunhuang, Gansu Province). He was a preeminent Confucian scholar, historian, and educational leader of the Five Liang regimes and early Northern Wei during the Sixteen Kingdoms period, rising to the positions of National Preceptor of Northern Liang and Attendant Gentleman to the Prince of Leping in…
PROFILE
Liu Bing (刘昞; d. 440), courtesy name Yanming and styled Master Xuanchu, was a native of Dunhuang Commandery, Shazhou (present-day Dunhuang, Gansu Province). He was a preeminent Confucian scholar, historian, and educational leader of the Five Liang regimes and early Northern Wei during the Sixteen Kingdoms period, rising to the positions of National Preceptor of Northern Liang and Attendant Gentleman to the Prince of Leping in Northern Wei. Amid the devastation of the Central Plains during the barbarian incursions, Liu Bing, alongside Guo Yu, Kan Yin, and Suo Chang, preserved the orthodoxy of Chinese classical culture in the Hexi Corridor, standing as one of the most distinguished intellectual leaders of Five Liang civilization. At age fourteen, Liu Bing entered the school of grand scholar Guo Yu, who was so impressed by his prodigal brilliance that he bestowed his daughter's hand in marriage. Following his studies, Liu Bing secluded himself in the mountains of Jiuquan to lecture, attracting over five hundred disciples. When Li Gao founded the Western Liang regime, he appointed Liu Bing as Libationer of the Confucian Scholars and Attendant Gentleman, comparing their encounter to that of Liu Bei and Zhuge Liang. Later appointed Army Protector Pacifying the Barbarians, Liu Bing studied tirelessly by candlelight late into the night. When Northern Liang annexed Western Liang, ruler Juqu Mengxun constructed the Retreat of Immersed Seclusion in the Western Garden of Guzang for Liu Bing, addressing him respectfully as Master Xuanchu; his successor Juqu Mujian elevated him to National Preceptor, personally leading the civil and military court to receive classical instruction. Following the Northern Wei conquest of Northern Liang, Emperor Taiwu permitted the elderly scholar to remain in the Hexi region, appointing him Attendant Gentleman to the Prince of Leping. In 440, longing for his native home, Liu Bing set out for Dunhuang but succumbed to illness at Xiegu Cave, four hundred li west of Liangzhou. Liu Bing authored extensive historical treatises, including the eighty-four-volume Summary Records, the ten-volume Book of Liang, and the twenty-volume Veritable Records of Dunhuang, the latter of which pioneered the "veritable records" genre that profoundly influenced imperial historiography through the Sui and Tang dynasties.
- Courtesy Name
- Yanming (延明)
- Pseudonym
- Master Xuanchu (玄处先生)
- Native Place
- Dunhuang Commandery, Shazhou (Present-day Dunhuang, Gansu Province)
- Date of Death
- 440
- Highest Office
- National Preceptor, Attendant Gentleman to the Prince of Leping (国师、乐平王从事中郎)
- Major Offices
- Libationer of the Confucian Scholars, Attendant Gentleman, Army Protector Pacifying the Barbarians, Gentleman of the Palace Library, National Preceptor, Attendant Gentleman to the Prince of Leping
- Precise Identity
- Eminent Confucian master, historian, and educator of the Hexi Corridor during the Sixteen Kingdoms and Northern Wei
LIFE TIMELINE
Traveled to Zhangye at fourteen to study under grand master Guo Yu, who gave him his daughter in marriage.
Retreated to the southern mountains of Jiuquan to teach; his academy attracted over five hundred disciples.
Recruited by Li Gao as Libationer of the Confucian Scholars and Attendant Gentleman, hailed as a reincarnated Zhuge Liang.
Northern Liang conquered Western Liang; Juqu Mengxun appointed him Gentleman of the Palace Library and built an academy for his research.
Juqu Mujian ascended the throne, honoring Liu Bing as National Preceptor and ordering all ministers to take lessons from him.
Emperor Taiwu conquered Northern Liang; exempted the aged scholar from eastern relocation and appointed him Attendant Gentleman.
Departed Guzang for his western homeland of Dunhuang; fell ill and died at Xiegu Cave amid widespread lamentation.
Relationship graph
BIOGRAPHY
Biography
Classical Tutelage in the Hexi Corridor
Liu Bing was born into a prominent Confucian family in Dunhuang Commandery, Shazhou. His father, Liu Bao, enjoyed high regional renown for classical scholarship. Following the Disaster of Yongjia and the collapse of the Western Jin dynasty, noble families and literati fled west to the safety of Liangzhou, turning the Hexi Corridor into a sanctuary for ancient imperial scrolls and classical Han culture.
From childhood, Liu Bing was quiet, introspective, and intensely devoted to learning. At age fourteen, he departed his native Dunhuang, journeying hundreds of miles east to Zhangye to study under the renowned doctoral master Guo Yu. Guo Yu, the premier disciple of Jin master Guo He, instructed thousands of students in the Classic of Changes and pre-Qin philosophies. Recognizing Liu Bing's analytical depth and eloquent expression, Guo Yu declared that the youth would become an intellectual pillar of the age, imparting his entire scholarly corpus to him and giving him his daughter in marriage.
Upon completing his studies, Liu Bing refrained from seeking immediate political office. Instead, he withdrew to the southern mountains of Jiuquan, constructing a secluded thatched studio where he declined municipal summonses. Aspiring scholars from across Guanlong and Hexi traveled great distances to join his mountain academy. Over five hundred disciples gathered around him to study the Six Classics, turning Jiuquan into a thriving center of classical thought.
Mutual Trust in Western Liang
In 400, Li Gao, Administrator of Dunhuang, mobilized forces across Shazhou and Jiuquan to establish the Western Liang dynasty, fixing his capital at Jiuquan. Li Gao was an ambitious monarch of deep literary cultivation who understood that state legitimacy required the support of Confucian scholars. Upon ascending the throne, his first major administrative act was to dispatch envoys to summon Liu Bing, appointing him Libationer of the Confucian Scholars and Attendant Gentleman.
Li Gao treated Liu Bing with unbounded respect, incorporating him into core executive deliberations and treating him as an intellectual confidant. Due to decades of warfare, imperial manuscripts in the Western Liang archives were tattered and decayed. In his leisure hours, Li Gao personally rolled up his sleeves to repair and rebind the damaged ancient volumes. Seeing the monarch doing physical manual restoration, Liu Bing stepped forward to offer assistance. Li Gao remarked: "I handle these scrolls personally so that all officials and subjects understand the sanctity of ancient learning. My encounter with you today is no different from Liu Bei meeting Zhuge Liang!"
Subsequently, Li Gao promoted Liu Bing to Army Protector Pacifying the Barbarians, tasking him with the pacification and administration of nomadic tribes in the Hexi borderlands. Despite onerous administrative burdens, Liu Bing never laid aside his books, researching and writing late into the night. Learning that Liu Bing burned candles through the night to write histories, Li Gao counseled: "You annotate manuscripts, continuing into the night what you began by day. Having labored all day, you must rest at night to preserve your health." Liu Bing replied: "Confucius taught that if one hears the Way in the morning, one may die content in the evening, and that in the joy of learning one forgets approaching old age. When ancient sages labored thus, how could an ordinary student like me dare indulge in indolence?"
The Secluded Academy and National Preceptor
In 420, Northern Liang monarch Juqu Mengxun invaded and destroyed Western Liang, annexing Jiuquan. Although born of the Xiongnu Lushuihu nomadic confederation, Juqu Mengxun recognized the power of Hexi cultural prestige. Entering the conquered territory, he treated Liu Bing with high reverence, appointing him Gentleman of the Palace Library with exclusive oversight of imperial record-keeping and state histories.
To provide Liu Bing with a tranquil environment for scholarly work, Juqu Mengxun constructed an academy known as the Retreat of Immersed Seclusion in the Western Garden of the capital at Guzang. Juqu Mengxun visited in person to pay respects, bestowing upon Liu Bing the honorific title Master Xuanchu and allocating monthly provisions of grain, wine, and sheep. In this academy, Liu Bing taught hundreds of students, assisted by regional scholars such as Suo Chang and Yin Xing, ushering in the golden age of Northern Liang cultural vitality.
In 433, Juqu Mengxun passed away, and his son Juqu Mujian inherited the throne. Passionately committed to Chinese classical governance, Juqu Mujian elevated Liu Bing to the supreme rank of National Preceptor and went in person to the academy to perform ceremonial prostrations. He issued a decree commanding all imperial officials, from grand councilors to junior clerks, to attend the academy and face north to receive Liu Bing's lectures on Confucian statecraft. Under Liu Bing's guidance, Northern Liang, originally viewed as a frontier barbarian regime, rivaled the Southern Dynasties in ceremonial refinement and classical scholarship.
Northern Wei Recognition and Demise at Xiegu
In 439, Emperor Taiwu of Northern Wei, Tuoba Tao, led his cavalry armies on a punitive expedition against Liangzhou, crushing the Northern Liang dynasty. Following the capture of Guzang, Emperor Taiwu ordered the relocation of the Northern Liang imperial clan, ministers, and over thirty thousand households of Hexi artisans and scholars east to the capital at Pingcheng. However, knowing Liu Bing's towering moral reputation, Emperor Taiwu granted him extraordinary exemptions.
The emperor issued a special decree permitting Hexi scholars aged seventy and above to remain in their native commanderies, supported by a son of their choice. As Liu Bing was already past seventy, the court appointed him Attendant Gentleman to the Prince of Leping, Tuoba Pi, and permitted him to reside in Liangzhou. After residing in Guzang for over a year, an intense longing for his ancestral home of Dunhuang overtook him, prompting him to journey west.
In 440, Liu Bing set out from Guzang on his return journey. Arriving at Xiegu Cave, four hundred li west of Liangzhou, he was overtaken by severe illness brought on by the rigors of travel and passed away inside the mountain caravan waystation. Hearing of his demise, scholars and officials across the Hexi Corridor wept aloud and flocked to the cave to pay final respects. Liu Bing's death marked the conclusion of the classical renaissance of the Five Liang era.
Major Achievements
Pioneering Historiography and the Veritable Records of Dunhuang
Liu Bing was an innovator in early medieval Chinese historiography. Finding the narratives of the Records of the Grand Historian, Book of Han, and Book of the Later Han excessively voluminous for introductory students, he compiled the eighty-four-volume Summary Records, consisting of one hundred and thirty treatises that restructured early imperial history into a concise, systematic framework.
More significantly, Liu Bing grounded his historical gaze in the northwestern frontier, authoring the ten-volume Book of Liang and the twenty-volume Veritable Records of Dunhuang. The Veritable Records of Dunhuang recorded regional topography, aristocratic genealogies, and political changes with exceptional precision and primary documentation. When transmitted to the Southern Dynasties, the work won high praise from masters such as Shen Yue and Liu Xiaobiao. Modern historians recognize Liu Bing's work as the foundational ancestor of the "veritable records" (shilu) genre, establishing the methodological model for imperial records throughout the Sui and Tang dynasties.
Preserving Confucian Orthodoxy through Five Hundred Disciples
During the century of northern chaos following the collapse of Western Jin, imperial academies in the Central Plains were razed and classical libraries incinerated. Living in Jiuquan and lecturing in the Retreat of Immersed Seclusion, Liu Bing made it his mission to safeguard the transmission of Chinese civilization.
Liu Bing combined rigorous textual exegesis with practical statecraft, educating over five hundred disciples. His leading pupils, notably Suo Chang and Yin Xing, later became senior preceptors in the Northern Wei imperial academy at Pingcheng. When the Northern Wei court transplanted Hexi scholars eastward, it was Liu Bing's disciples who established the educational apparatus that underpinned Emperor Xiaowen's Sinicization reforms. Single-handedly, Liu Bing preserved the thread of Chinese classical heritage across a tumultuous era.
Interdisciplinary Synthesis and Classical Commentaries
Liu Bing's intellectual scope extended far beyond orthodox Confucian canons to incorporate pre-Qin philosophical traditions, military strategy, and psychological analysis. He authored numerous commentaries that circulated widely throughout the northern and southern courts.
He produced commentaries on the Classic of Changes, the Legalist treatise Han Feizi, Liu Shao's psychological treatise Treatise on Human Capabilities, and the military manual Three Strategies of Huang Shigong, alongside the three-volume Dialects and the Inscription for the Hall of Reverent Respect. In his commentary on the Treatise on Human Capabilities, he elucidated theories of personnel selection and governance, while in his notes on the Three Strategies, he reconciled military doctrine with benevolent administration. Tang historiographer Liu Zhiji acclaimed his learning as "all-encompassing and profoundly expansive," underscoring his encyclopedic range.
Posthumous Imperial Honors and Hereditary Exemptions
Liu Bing's moral and scholarly standing was twice formally recognized by Northern Wei emperors decades after his death. In 490, fifty years after his demise, Grand Master of Writing Li Chong, architect of Emperor Xiaowen's reforms, petitioned the throne: "Liu Bing was a grand Confucian master of the Western River whose fame resonated across the seas; today his descendants languish in poverty without official emoluments. The posterity of such a sage should receive extraordinary patronage." Emperor Xiaowen concurred, appointing one of Liu Bing's sons as Magistrate of Yunyang.
In 522, Grand Guardian Cui Guang submitted another memorial to Emperor Xuanwu: "The late Attendant Gentleman Liu Bing of Dunhuang established his scholarly achievements in Liangzhou; his surviving treatises are magnificent monuments of Confucian virtue. If his descendants are left to suffer among common laborers, all scholars under Heaven will lament." The court issued an imperial edict: "Liu Bing's virtue surpassed his predecessors, standing as a grand pillar of Confucian learning; all three households of his grandsons are hereby permanently exempted from taxation and corvee." The people of Hexi celebrated this imperial decree as an enduring regional honor.
Personal Relationships
- Father: Liu Bao (Eminent Confucian scholar of Dunhuang Commandery)
- Father-in-law and Teacher: Guo Yu (Grand Confucian master of the Hexi region, who gave his daughter to Liu Bing in marriage)
- Patron Monarch: Li Gao (King Wuzhao of Western Liang; appointed Liu Bing Attendant Gentleman and compared their bond to Liu Bei and Zhuge Liang)
- Reverent Sovereign: Juqu Mengxun (Ruler of Northern Liang; constructed the Retreat of Immersed Seclusion for Liu Bing and styled him Master Xuanchu)
- Royal Disciple: Juqu Mujian (Last ruler of Northern Liang; honored Liu Bing as National Preceptor and led the entire court to receive his teaching)
- Imperial Benefactor: Tuoba Tao (Emperor Taiwu of Northern Wei; conquered Northern Liang and granted Liu Bing permission to remain in his homeland)
- Assistant and Disciple: Suo Chang (Eminent Dunhuang scholar who assisted Liu Bing and later directed the Northern Wei imperial academy)
- Assistant and Disciple: Yin Xing (Hexi scholar and senior disciple who served as an instructor in Liu Bing's academy)
Historical Evaluations
- Li Gao: "My encounter with you today is no different from Liu Bei meeting Zhuge Liang! You record histories by candlelight through the night, a true grand master of the state."
- Juqu Mujian: "Master Liu possesses towering virtue and encyclopedic learning spanning ancient and modern eras; I shall personally observe the etiquette of a disciple and honor him as our National Preceptor."
- Emperor Xiaowen of Northern Wei: "Liu Bing's virtue surpassed previous generations, making him a preeminent pillar of Confucianism; the glory of the Western River echoed even into the northern capital."
- Cui Guang, Book of Wei: "The late Attendant Gentleman Liu Bing of Dunhuang established his legacy in Liangzhou; his surviving treatises are magnificent... His virtue surpassed predecessors, standing as a grand pillar of Confucian learning."
- Liu Zhiji, General Principles of Historiography: "Liu Bing was all-encompassing in learning and meticulous in recording; the format of veritable records originated from him."
Related Entries
- Li Gao
- Juqu Mengxun
- Juqu Mujian
- Tuoba Tao
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Wei Shou, Book of Wei, Vol. 52, "Biography of Liu Bing"
- Li Yanshou, History of the Northern Dynasties, Vol. 34, "Biography of Liu Bing"
- Cui Hong, Spring and Autumn Annals of the Sixteen Kingdoms, Vol. 94, "Western Liang Records: Biography of Liu Bing"