Born in Anqiu, Mizhou; studied military treatises and classical strategy from youth.

Chen Gui (陈规)
陈规
Chen Gui (陈规, 1072–1141) was an eminent military strategist, military engineering innovator, and supreme master of city defense during the early Southern Song dynasty. Born in Anqiu, Mizhou, he mastered classical Confucian texts alongside military treatises from youth, passing the imperial examinations in the specialized Legal Studies (Mingfa) category during the Zhenghe era. Following the Jingkang Incident of 1127 and the…
PROFILE
Chen Gui (陈规, 1072–1141) was an eminent military strategist, military engineering innovator, and supreme master of city defense during the early Southern Song dynasty. Born in Anqiu, Mizhou, he mastered classical Confucian texts alongside military treatises from youth, passing the imperial examinations in the specialized Legal Studies (Mingfa) category during the Zhenghe era. Following the Jingkang Incident of 1127 and the fall of northern China, Jin armies and rebel hordes surged south. Chen Gui was dispatched to serve as magistrate of Anlu and subsequently prefect of De'an (present-day Anlu, Hubei), shouldering the defense of the strategic Han-Mian frontier. During fierce sieges by Jurchen forces, the puppet Qi regime, and rebel armies numbering tens of thousands, Chen Gui led local forces in defending De'an for sixteen continuous months, repeatedly defeating superior forces through active defense and night raids. In the defense of De'an, Chen Gui invented the world's earliest tubular firearm—the long bamboo fire lance (tuhuoqiang)—marking an epochal transition in human warfare from cold weapons to gunpowder ballistics. Rising to Auxiliary Academician of the Bureau of Military Affairs, he authored Record of City Defense (Shoucheng Lu), the earliest dedicated treatise on urban defensive warfare in Chinese history. The History of Song praised him: "Since the Shaoxing era, among civil officials serving as regional pacification commissioners who commanded great awe, there was only Chen Gui."
- Courtesy Name
- Yuanze
- Ancestral Home
- Anqiu, Mizhou, Jingdongxi Circuit (present-day Anqiu, Weifang, Shandong)
- Date of Birth
- 1072 (5th year of the Xining era, Emperor Shenzong of Song)
- Date of Death
- 1141 (11th year of the Shaoxing era, Emperor Gaozong of Song)
- Age at Death
- 70
- Highest Office
- Auxiliary Academician of the Bureau of Military Affairs, Prefect of De'an
- Main Identity
- Military strategist, city defense specialist, firearms innovator
LIFE TIMELINE
Passed the Mingfa examination, entering official service as administrative assistant and magistrate.
Appointed magistrate of Anlu amidst the collapse of the Northern Song, repairing defenses and sheltering refugees.
Promoted to prefect of De'an, withstanding massive sieges by rebel armies and defeating them with counterattacks.
Deployed the bamboo fire lance in combat against Qi siege engines, burning enemy towers.
Successfully held De'an against repeated assaults across sixteen months, preserving the middle Yangtze frontier.
Promoted to Auxiliary Academician of the Bureau of Military Affairs, governing Chizhou and later Luzhou.
Passed away in office in Luzhou at age seventy, posthumously honored as Grand Master for Court Service.
Relationship graph
BIOGRAPHY
Life Course
Legal Examination and Frontier Crisis
In 1072, Chen Gui was born in Anqiu County, Mizhou, Jingdongxi Circuit. In his youth, alongside classical Confucian learning, he immersed himself in ancient military classics such as the Sunzi Bingfa, Wuzi, and Liutao, acquiring a deep grasp of tactical formations and siege mechanics. During the Zhenghe era under Emperor Huizong, he passed the Mingfa examination and commenced his bureaucratic service.
In 1127, Jurchen armies sacked Kaifeng, capturing Emperors Huizong and Qinzong. When imperial armies collapsed, rebel hordes rampaged across the Jianghan plains, and regional officials fled their posts.
Chen Gui was appointed magistrate of Anlu County in De'an Prefecture. De'an was a vital gateway commanding the Han and Mian river valleys, but possessed low walls and negligible garrison troops. Arriving amidst chaos, Chen Gui immediately mobilized local militias, cleared buildings outside walls to secure defensive sightlines, deepened moats, and instituted rigorous defensive protocols. Intimidated by Anlu's disciplined preparation, roving brigands bypassed the county, enabling tens of thousands of refugees to find safety under his protection.
Bitter Warfare and Defense of De'an
In 1130, following the founding of the Southern Song, Chen Gui was promoted to prefect of De'an and regional pacification commissioner. At this juncture, the puppet Qi regime under Liu Yu dispatched general Li Heng, alongside water bandits and regional warlords, to encircle De'an with tens of thousands of infantry and cavalry, deploying towering siege engines such as sky-carts, scaling ladders, and battering rams.
Confronted with overwhelming numbers, Chen Gui remained unshakeable. He inspected the ramparts personally, standing under enemy arrow fire to inspire his troops. Rather than passively waiting behind closed gates, Chen adopted an active defensive strategy combining fortress artillery with surprise sorties.
He mounted trebuchets on ramparts to bombard approaching siege carts with rolling logs and gunpowder firebombs. At decisive moments, he opened hidden sally ports, leading elite shock troops into the enemy's rear supply camps, burning their stores. After months of futile siege and mounting casualties, the enemy broke and fled in disorder.
Invention of the Fire Lance and Weaponry Revolution
During the defensive campaigns at De'an in 1132, Chen Gui accomplished a historic breakthrough by inventing the world's first tubular firearm: the long bamboo fire lance (tuhuoqiang).
The besieging Qi forces deployed massive timber carts covered in ox-hide that deflected standard arrows and stones. Chen Gui selected large, durable bamboo stalks, cleared internal nodes, and packed them with specially formulated gunpowder and iron fragments.
In battle, two soldiers operated each lance. When enemy siege carts approached rampart portals, the lances were ignited, spewing roaring columns of fire and shrapnel over ten paces. The blast instantly incinerated the enemy's hide-covered carts and blinded besiegers, causing panic across enemy assault lines. This marked the very first recorded operational use of tubular projective firearms in global history.
Awe Across Jianghuai and Death in Service
Across sixteen months of combat, Chen Gui withstood repeated sieges by Jin and Qi armies. In 1134, General Yue Fei led the Yue Family Army to recover the six prefectures of Xiangyang, establishing headquarters in De'an. Inspecting the city's defenses, Yue Fei expressed boundless admiration for Chen Gui's tactical genius, forming a close friendship with him.
Emperor Gaozong praised Chen: "Chen Gui, as a lone civil official holding an isolated city through dozens of battles, has preserved tens of thousands of lives; his loyalty, courage, and wisdom are rare in history!" The court promoted him to Auxiliary Academician of the Bureau of Military Affairs (Xumiyuan Zhixueshi), governing Chizhou and later Luzhou.
In Luzhou, Chen strengthened border fortresses and trained troops. In 1141, worn down by decades of military exertion, Chen Gui passed away in office at age seventy, posthumously honored as Grand Master for Court Service (You Zhengyi Dahu).
Major Achievements
Invention of the World's First Tubular Firearm
Chen Gui's greatest contribution to global military technology was designing and deploying the bamboo fire lance (tuhuoqiang).
Prior to Chen Gui, gunpowder weapons were limited to incendiary arrows and hurled bombs. Chen Gui used a hollow tube as a barrel to project directional flames and projectiles, realizing the foundational concept of barrel-launched ballistics. This invention anticipated Western firearms by over two centuries, earning Chen Gui recognition as the founding father of barrel-based firearms.
Authorship of Record of City Defense (Shoucheng Lu)
In his final years, Chen Gui synthesized his battlefield experience into Record of City Defense (Shoucheng Lu) in four volumes, China's earliest systematic monograph on defensive warfare.
Chen Gui revolutionized Chinese siege doctrine: first, he asserted that "a city cannot be defended without attack," insisting that defenders must execute active sorties against enemy logistics; second, he redesigned fortifications, eliminating outward-jutting sheep-horse walls, deepening moats, and constructing dynamic barbicans; third, he integrated traditional missile weapons with early firearms to create a multi-layered defensive web. Shoucheng Lu became an authoritative manual for military commanders through the Ming and Qing dynasties.
Loyalty, Benevolence, and the Model Confucian Official
Although renowned across China for his martial feats, Chen Gui remained at heart a pure, upright Confucian scholar. Throughout his life, he was solemn and sparing of words, yet treated colleagues and subordinates with warm generosity. He distributed all his official salary to reward common soldiers or relieve starving refugees, leaving behind no private fortune upon his death, but only hundreds of scrolls of military treatises and classical texts.
The History of Song praised his exemplary life: "Chen Gui was resolute and economical in speech, yet gentle in dealing with others. Holding fast to loyalty, he was generous in charity and accumulated no private wealth. Since the Shaoxing era, among civil officials serving as regional pacification commissioners who commanded great awe, there was only Chen Gui." During the perilous years of the Southern Song dynastic migration, his unbending resolve protected half the realm of Chinese civilization.
Nine Victories in De'an and City Defense Miracle
Holding De'an for over a decade amidst Southern Song border turmoil, Chen Gui achieved nine major victories without a single defeat against overwhelming forces.
When warlord Li Xiaoyi led tens of thousands to the walls feigning surrender, Chen Gui spotted their suspicious camp dispositions from the ramparts, prepared concealed firearms, and shattered the enemy in a fiery ambush. Subsequent incursions by rebel bands were repeatedly defeated through disciplined counterattacks, turning De'an into an impregnable fortress.
Foundation of the Shunxang Defense and Strategic Mentorship
Chen Gui's defensive doctrines laid the tactical foundation for General Liu Qi's victory at the Battle of Shunxang in 1140, where Song forces halted a massive Jurchen invasion.
Later serving as prefect of Shunxang, Chen Gui personally upgraded city ramparts. In times of chaos, he protected cultural archives, dispatching boats to preserve forty thousand volumes owned by biblio-collector Wang Zhi, returning them intact a decade later. Finding the orphaned daughter of scholar Zhang sold into servitude, he purchased her freedom and arranged an honorable marriage, earning universal praise for noble benevolence.
Personal Relationships
- Military Ally: Yue Fei (celebrated Southern Song commander, who admired Chen Gui's city defense mastery).
- Imperial Patron: Emperor Gaozong of Song (conferred high honors and praised his loyalty as rare in history).
- Tactical Heir: Liu Qi (Song general whose victory at Shunxang implemented Chen Gui's defensive methods).
- Historical Compiler: Chao Gongwu (Southern Song scholar who preserved and evaluated Shoucheng Lu).
Historical Evaluation
- History of Song (Song Shi, Volume 377): Chen Gui was resolute and economical in speech, yet gentle in dealing with others. Holding fast to loyalty, he was generous in charity and accumulated no private wealth. Since the Shaoxing era, among civil officials serving as regional pacification commissioners who commanded great awe, there was only Chen Gui.
- Yue Fei: Chen Yuanze defends cities with unmatched skill and profound strategy; he is truly a champion of the state.
- Li Gang: That De'an remained intact was no stroke of fortune; it was entirely due to Lord Chen's strategic brilliance, foresight, and courage.
Related Entries
- Shoucheng Lu
- Fire lance
- Yue Fei
- Siege of De'an
- Auxiliary Academician of the Bureau of Military Affairs
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- History of Song (Song Shi), Volume 377, Biographies 136, "Biography of Chen Gui"
- Chronicle of the Northern Alliance Under Three Reigns, Volume 153
- Chronological Records Since the Jianyan Era