Born into a military family in Shenyang, demonstrating early prowess in archery and Confucian scholarship.
Gan Wenkun (甘文焜)
甘文焜
Gan Wenkun (甘文焜, 1632–1674), courtesy name Bingru, was an imperial bannerman belonging to the Plain Blue Banner of the Han Army, with ancestral roots in Fengcheng, Jiangxi, and family registration in Liaoyang (modern Shenyang). He was an illustrious early Qing regional governor and a renowned loyalist martyr during the Revolt of the Three Feudatories. Born into a military family, Gan excelled in archery and horsemanship while…
PROFILE
Gan Wenkun (甘文焜, 1632–1674), courtesy name Bingru, was an imperial bannerman belonging to the Plain Blue Banner of the Han Army, with ancestral roots in Fengcheng, Jiangxi, and family registration in Liaoyang (modern Shenyang). He was an illustrious early Qing regional governor and a renowned loyalist martyr during the Revolt of the Three Feudatories. Born into a military family, Gan excelled in archery and horsemanship while immersing himself in Confucian histories, admiring classical exemplars of heroic loyalty. He entered civil service as a clerk in the Ministry of War and advanced through posts including Vice Minister of the Grand Court of Revision, Prefect of Shuntian, and Governor of Zhili, before being promoted to Viceroy of Yun-Gui. Gan was noted for administrative integrity and moral firmness. While governing Zhili, he personally inspected flood-stricken counties, remitted taxes, and donated his personal salary to support famine relief. As Viceroy of Yun-Gui stationed in Guiyang, he reformed local administration, quelled tribal unrest, and resisted the subversive maneuvers of Wu Sangui, Prince of Pingxi. In the winter of 1673, Wu Sangui launched an anti-Qing rebellion in Yunnan, executing Governor Zhu Guozhi and coercing regional commanders into treason. Isolated and refusing all surrender demands, Gan attempted to hold the strategic gateway of Zhenyuan, but was surrounded at Jixiang Temple. After paying ritual homage toward Beijing, Gan committed suicide with his sword at age forty-two. Following the suppression of the rebellion, the Qing court posthumously promoted him to Minister of War, conferred the posthumous name Zhongguo, and enshrined him in the Shrine of Manifest Loyalty.
- Courtesy Name
- Bingru (炳如)
- Posthumous Name
- Zhongguo (忠果)
- Native Place
- Liaoyang, Fengtian (沈阳, Plain Blue Banner of the Han Army)
- Date of Birth
- 1632 (5th year of Chongzhen)
- Date of Death
- January 14, 1674 (8th day of the 12th month, 12th year of Kangxi)
- Age at Death
- 42
- Highest and Major Offices
- Viceroy of Yun-Gui, posthumously Minister of War; formerly Governor of Zhili, Prefect of Shuntian, Vice Minister of Works, Vice Minister of the Grand Court of Revision, Ministry of Rites Commissioner
- Historical Identity
- Early Qing regional governor, loyalist martyr during the Revolt of the Three Feudatories
LIFE TIMELINE
Appointed bithesi in the Ministry of War from the official student ranks, managing Manchu-Chinese archives with diligence.
Promoted to qixinlang in the Ministry of Rites, successfully executing imperial diplomatic missions to provincial outposts.
Transferred to serve as Vice Minister of the Grand Court of Revision, reviewing judicial appeals and rectifying wrongful verdicts.
Promoted to Prefect of Shuntian; impeached corrupt taxation practices at the Chongwenmen customs gate and declined personal jurisdiction over it.
Appointed Governor of Zhili; memorialized to restore provincial inspection tours and surveyed flood zones in Baoding and Zhending.
Donated three thousand taels of his official salary for famine relief; rewarded with the honorary title Vice Minister of Works.
Elevated to Viceroy of Yun-Gui in August, stationed in Guiyang to confront the regional dominance of Wu Sangui.
Exposed Wu Sangui's ploy regarding border incursions, launching a preemptive strike to crush the Kaili rebellion.
Conducted regional inspection tours across Yunnan and Guizhou; quelled the tribal disturbance led by A-Fu in Shibing.
Ordered to remain in office during mourning for his mother; returned to Guiyang in winter as the feudatory crisis unfolded.
Dispatched urgent dispatches to Beijing and Huguang upon Wu Sangui's revolt in November; ordered General Li Benshen to guard the Panjiang River.
Betrayed by Li Benshen and Governor Cao Shenji; retreated toward Zhenyuan after Guiyang garrison mutinied.
Reached Zhenyuan on January 14, where he was surrounded at Jixiang Temple by rebel forces and committed suicide by his sword at age forty-two; posthumously made Minister of War with the title Zhongguo.
Relationship graph
BIOGRAPHY
Biography
Military Lineage and Early Career
Gan Wenkun was born in 1632 in Shenyang, Liaodong. His ancestral lineage originated in Fengcheng, Jiangxi, before migrating to the northeastern frontier during the early Ming dynasty to serve in garrison units. His father, Gan Yingkui, joined the early Qing forces and rose to Vice General of Shixia, renowned for his tactical bravery. Reared in a martial household, Gan mastered horsemanship and archery from early youth. Concurrently, he immersed himself in classical histories, revering historic paragons of loyalty such as Wen Tianxiang and Zhang Xun.
In 1650, eighteen-year-old Gan was appointed a bithesi (clerk) in the Ministry of War as an imperial bannerman student. Diligent and proficient in both Manchu and Chinese, he processed military documents with precision. In 1658, he was promoted to qixinlang (commissioner) in the Ministry of Rites. Frequently sent on missions to inspect civil conditions across northern provinces, his perceptive reports earned the appreciation of the Shunzhi court.
In 1662, Gan was transferred to the Grand Court of Revision as vice minister, reviewing criminal cases across the empire and overturning numerous wrongful convictions. In 1663, he was elevated to Prefect of Shuntian, overseeing civic governance in the capital region. When he observed pervasive embezzlement and extortion by tax officers at the Chongwenmen customs gate, he submitted an impeachment memorial denouncing their abuses. When the imperial court proposed that Gan personally take charge of the customs station, he declined, declaring that speaking out for public justice should never be converted into personal profit.
Governance in Zhili and Famine Relief
In 1667, Gan was appointed Governor of Zhili. Previously, Censor-in-Chief Hao Weine had secured an imperial decree abolishing provincial inspection tours, arguing that viceregal cavalcades burdened local districts. Gan argued that confining governors to their yamen blinded them to grassroots hardship. In June 1668, he petitioned to restore inspection circuits, winning imperial assent.
Soon after, catastrophic floods swept Baoding and Zhending prefectures, submerging villages and displacing thousands. Traveling in a modest carriage with minimal retinue, Gan navigated inundated backwaters to evaluate the disaster firsthand. He memorialized the court to grant immediate tax remissions and distribute relief grain. When Governor-General Bai Bingzhen dragged his feet due to bureaucratic accounting hurdles, Gan publicly castigated him for callous negligence and donated three thousand taels of his own accumulated salary to establish porridge kitchens. In recognition of his integrity, the court conferred upon him the title Vice Minister of Works.
Viceroyalty of Yun-Gui and Countering Wu Sangui
In August 1668, the Qing court appointed Gan Viceroy of Yun-Gui, stationed at Guiyang, Guizhou. Southwestern China was dominated by Wu Sangui, Prince of Pingxi. Following his pacification of the regional indigenous domains, Wu's authority was absolute. He absorbed nine million taels annually from state coffers, minted private currency, engaged in cross-border commerce with Tibet, and monopolized civil and military appointments across Yunnan and Guizhou.
Viewing imperial governors as threats, Wu sought to undermine Gan's authority. In 1669, Wu claimed that border tribes were staging incursions in the northwest, attempting to lure Gan into dispatching Guizhou's garrison into the wilderness while secretly inciting indigenous uprisings behind imperial lines in Kaili. Gan discerned Wu's scheme, remarking to his staff that distant tribes posed no immediate threat, whereas a revolt adjacent to Guiyang would prove catastrophic.
Rejecting Wu's proposal, Gan mobilized his provincial garrison to strike directly at Kaili. He dispatched Vice General Ye Bingzhong into the mountain redoubts of Mount Alu, capturing and executing rebel chieftain A-Rong. With the rear secured, Gan invited Wu to join him in confronting the northern frontier. Unmasked, Wu was forced to retract his claims, developing a deep apprehension of Gan's vigilance.
In March 1671, Gan undertook extensive inspection tours across Yunnan and Guizhou. Noting that officials dying in remote regions often had their remains stranded due to rugged terrain, he secured approval for free transport through the imperial postal relay system. When his mother passed away in Liaodong, Kangxi commanded him to remain in office during mourning. Soon after, Gan dispatched troops to quell the tribal rebellion of chieftain A-Fu in Shibing, stabilizing the Guizhou interior.
The Revolt of the Three Feudatories and Martyrdom
In early 1673, when Guangdong feudatory Shang Kexi requested permission to retire to Liaodong, Emperor Kangxi ordered the dissolution of the southern feudatories. Believing he could intimidate Beijing, Wu Sangui submitted a disingenuous petition to withdraw his garrison. Kangxi accepted his request, sending commissioners to oversee the transfer. Realizing his autonomy was finished, Wu rebelled in Kunming on December 28, 1673, styling himself generalissimo, executing Yunnan Governor Zhu Guozhi, and mobilizing his forces.
Returning to Guiyang from an inspection, Gan received news of the uprising. He immediately dispatched his cousin Gan Wenjiong to carry urgent memorials to Beijing while alerting Chuan-Hu Viceroy Cai Yurong to fortify the Yangtze River. Gan ordered Guizhou Commander-in-Chief Li Benshen to lead troops to the Panjiang River to block Wu's advance. However, Li Benshen and Guizhou Governor Cao Shenji had already colluded with the rebels, and Li refused to march.
Gan sent an urgent missive to Li, writing: "The court has showered you with grace; Wu Sangui's rebellion invites inevitable destruction. In this supreme hour of crisis, our duty is to stand together for the throne. If our forces fail, we should emulate Zhang Xun and Nan Jiyun by dying for our country!" Ignoring Gan's plea, Li opened the gates of Anshun to the rebels, while the garrison in Guiyang defected.
With Guiyang lost, Gan resolved to fall back on Zhenyuan, a fortified mountain pass guarding the route to Huguang, hoping to coordinate with imperial reinforcements from the east. Before departing, to protect his household from dishonor, Gan ordered his concubine Lady Sheng and seven women to hang themselves. Gan then set out with his fourth son, Gan Guocheng, and a dozen loyal guards toward Zhenyuan.
On January 14, 1674, Gan reached Zhenyuan, only to discover that garrison officer Jiang Yi had raised rebel banners and blockaded the defiles. Fighting through ambushes, Gan and four surviving companions reached Jixiang Temple on the banks of the Wuyang River, barring the monastery gates. Surrounded by rebel troops, Gan climbed under ancient cypress trees and shouted: "As a grand minister entrusted with the frontier, my duty is to die for the empire!"
Gan drafted a final strategic memorial to Viceroy Cai Yurong, entrusting it to a temple monk. He adjusted his court robes, bowed nine times toward Beijing, and declared: "My strength is exhausted; I repay the emperor with my life!" He slew his young son Gan Guocheng with his sword and then slit his own throat under the cypresses at age forty-two. His attendants also took their own lives. When rebel soldiers entered, they found Gan lying beneath the trees with wide-open eyes, leaving the mutineers and local commoners weeping in reverence.
Posthumous Honors and Legacy
Gan's martyrdom left Guizhou open to rebel forces, allowing Wu Sangui to push into Hunan and Jiangxi. After eight years of warfare, Qing armies captured Kunming in 1681, crushing the rebellion.
In 1684, Guizhou Governor Yang Yongjian petitioned the throne regarding Gan's loyalty. Deeply moved, Emperor Kangxi issued an edict praising Gan's heroic devotion and authorized his eldest son, Gan Guojun, to escort his father's casket from Zhenyuan to Beijing.
When the funeral procession reached Lugouqiao outside the capital, Kangxi dispatched Grand Minister Tong Guowei to conduct memorial sacrifices. The court granted three thousand taels of silver for a state burial, posthumously promoted Gan to Minister of War, conferred the posthumous name Zhongguo, and admitted his son Gan Guobi to the Imperial Academy. In 1686, Guizhou Governor Yan Xingbang established a shrine in Guiyang, with Emperor Kangxi penning the inscription Jinjie (Unyielding Integrity). Under Emperor Yongzheng, Gan was formally enshrined in the Shrine of Manifest Loyalty in Beijing.
Major Achievements
Frontier Defense and Resisting Wu Sangui
During his viceroyalty in Yunnan and Guizhou (1668–1673), Gan demonstrated remarkable administrative resolve against Wu Sangui's expansionist ambition. Recognizing Wu's growing territorial autonomy, Gan defended central authority without precipitating an unmanageable crisis.
In the simulated tribal conflict at Kaili, Gan saw through Wu's plot to draw imperial forces away from provincial centers. By striking decisively to eliminate rebel chieftain A-Rong, he stabilized Guizhou and foiled Wu's covert designs. Throughout his tenure, Gan maintained the administrative presence of the central court in the southwestern frontier.
Strategic Intelligence and Delaying the Rebellion
When Wu Sangui revolted in the winter of 1673, Gan's rapid response proved critical to the Qing court's defensive mobilization. Operating in deep isolation following the execution of Governor Zhu Guozhi and the treason of military commanders, Gan refused to surrender.
His couriers carried the earliest intelligence of the revolt to Beijing, providing Emperor Kangxi with advance warning of rebel dispositions. Concurrently, his communications to Chuan-Hu Viceroy Cai Yurong enabled imperial forces to establish defensive lines along the Yangtze River at Jingzhou and Yuezhou, blunting Wu's drive toward central China.
Martyrdom at Zhenyuan and Moral Exemplar
Gan's suicide at Jixiang Temple in Zhenyuan represented an iconic act of Confucian martyrdom during the early Qing dynasty. Surrounded by defectors and refusing all offers of clemency, he chose death over disloyalty.
His final sacrifice, accompanied by the suicide of his son and female kin, embodied the moral imperative of sacrificing life for righteousness (shesheng quyi). His conduct became a celebrated moral paradigm throughout the Qing era, inspiring generations of civil and military officials.
Personal Relationships
- Father: Gan Yingkui, early Qing vice general of Shixia, celebrated for martial courage.
- Family: Lady Sheng and seven women of his household who committed suicide in Guiyang to avoid capture.
- Eldest Son: Gan Guojun, who served as sub-prefect of Xuanhua and escorted his father's casket to Beijing.
- Fourth Son: Gan Guocheng, who joined his father's breakout to Zhenyuan and took his own life alongside him.
- Youngest Son: Gan Guobi, granted admission to the Imperial Academy by imperial favor following the rebellion.
- Cousin: Gan Wenjiong, who rode across thousands of li to deliver Gan's secret memorial of Wu Sangui's revolt to Beijing.
- Imperial Sovereign: Emperor Kangxi, who mourned Gan's martyrdom, granted him the posthumous title Zhongguo, and bestowed the shrine tablet "Jinjie."
- Rebel Adversary: Wu Sangui, Prince of Pingxi, who instigated the Revolt of the Three Feudatories and orchestrated the encirclement of Gan's forces.
- Defecting Subordinates: Li Benshen, Guizhou Commander-in-Chief who surrendered to Wu Sangui; and Cao Shenji, Guizhou Governor who also defected.
- Allied Colleague: Cai Yurong, Viceroy of Chuan-Hu, who organized defensive lines along the Yangtze River upon receiving Gan's final dispatches.
Historical Evaluations
- Emperor Kangxi: "Gan Wenkun served with devotion as Viceroy of Yun-Gui. When the rebel Wu revolted, he gave his life in martyrdom, his loyal virtue deeply moving. Let him be granted extraordinary posthumous honors. His unyielding integrity shines brightly across the historical record." (Veritable Records of Emperor Shengzu, roll 116)
- Yang Yongjian, Governor of Guizhou: "Gan Wenkun took office on the distant frontier and swore to preserve his loyalty. When the traitor rebelled, he was left without aid, yet his resolve never wavered. Shedding his blood at Jixiang Temple, he was truly a heroic man of antiquity!" (Draft History of Qing, roll 488)
- Yu Chenglong, Governor of Zhili: "Duke Gan's integrity was pure as snow and his loyalty outshone the sun and moon. While in Zhili, the populace benefited from his kindness; when he died in the southwest, scholars took pride in his moral resolve. His sacrificial honors are richly deserved." (Collected Works of Yu Qingduan Gong)
- Zhao Erxun et al., Draft History of Qing: "When Wu Sangui rebelled, the governors of Yunnan and Guizhou suffered alike. Gan Wenkun strove to resist, laboring through rugged defiles until he perished in martyrdom. His resolute sacrifice alongside his son and family reflected the spirit of classical martyrs. His honors and shrine were well earned." (Draft History of Qing, roll 488)
Related Entries
- Revolt of the Three Feudatories
- Wu Sangui
- Shrine of Manifest Loyalty
- Viceroy of Yun-Gui
- Cai Yurong
- Yu Chenglong
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Draft History of Qing, roll 488, biography 275, Loyalists 1, Biography of Gan Wenkun
- Veritable Records of Emperor Shengzu
- Comprehensive History of Guizhou
- Qing History Biographies, roll 79, Biographies of Loyalists