Life and Career
Consolidation of Power in Shuixi
An Bangyan was born into the hereditary Xiongshu branch of the prominent Yi nobility that had governed Shuixi (west of the Yachi River) for centuries. His great-grandfather An Wanling had governed the entirety of Guizhou Pacification Commission, enfeoffing his sons across strategic alpine strongholds. An Bangyan's grandfather An Zhi and father An Guozhen successively served as Vice Pacification Commissioners based at Zhijin Pass. By the time An Bangyan succeeded to the post, his territorial influence expanded to incorporate Nawei, Babu, and Nuodong, establishing his administrative headquarters at Nawei Guanzhai while placing his son An Wugong in charge of Zhijin.
In 1616 (the forty-fourth year of the Wanli era), Pacification Commissioner An Yaochen died, leaving his young son An Wei to inherit the chieftainship under the nominal regency of his mother, Lady She Shehui. Because Lady She was the biological sister of Yongning chieftain She Chongming, the Shuixi and Yongning houses maintained intimate matrimonial bonds, despite frequent boundary skirmishes. Taking advantage of An Wei's youth and inexperience, An Bangyan seized comprehensive command of the Shuixi armed forces, reducing the young commissioner to a political figurehead. In 1619, as Later Jin forces threatened northeastern borders, the Ming court requisitioned southwestern troops. An Bangyan petitioned Governor Li Yun for permission to lead an auxiliary force, but Li, perceiving his separatist ambitions, rebuffed the request. Returning to his stronghold, An Bangyan accelerated weapons manufacturing, forged armaments, and prepared for rebellion.
The Conquest of Central Guizhou and Siege of Guiyang
In autumn 1621, She Chongming launched his mutiny at Chongqing, proclaiming the Daliang state and besieging Chengdu. Perceiving that the opportune moment had arrived, An Bangyan held council at Dafang and rose in armed revolt in February 1622 (the second year of the Tianqi era). Assuming the regal title Prince of Luodian, he secured military alliances with An Xiaoliang of Wusa and Song Wanhua of Shuidong, quickly overrunning Bijie, Anshun, Pingba, and Longli, thereby severing the primary military arteries connecting Yunnan, Guizhou, and Huguang.
On February 9, 1622, An Bangyan led tens of thousands of tribal warriors to encircle the provincial capital of Guiyang, boasting that his armies would sweep across Chenzhou and Changde to strike the Central Plains. Inside Guiyang, civil and military defenses were threadbare, but outgoing Governor Li Yun and Censor Shi Yong'an rallied garrison troops and civilians to mount an unyielding defense. An Bangyan erected stone redoubts across mountain defiles, cutting off all external grain transports. The siege endured for ten agonizing months, plunging the trapped civilian population into catastrophic famine, during which thousands perished. Finally, in late December 1622, newly appointed Guizhou Governor Wang Sanshan arrived with relief armies from Huguang, breaking the encirclement and slaying over ten thousand insurgent fighters. An Bangyan was forced to retreat across the defensive barriers of the Luoguang River.
Ambush and Death of Governor Wang Sanshan
Following the relief of Guiyang, Wang Sanshan organized a major counteroffensive in 1623, advancing along three routes into the heart of Shuixi. Joining forces with the defeated She Chongming, An Bangyan utilized the impenetrable limestone peaks and dense subtropical forests to lure imperial forces deep into indigenous terrain. Wang Sanshan crossed the Luoguang River and advanced over three hundred li, capturing the Shuixi capital of Dafang and forcing An Bangyan to take refuge in the mountainous depths of Zhijin.
However, after occupying Dafang for over three months, the imperial vanguard exhausted its logistical provisions and fell victim to endemic mountain fevers. In January 1624 (the fourth year of the Tianqi era), Wang Sanshan ordered a general withdrawal toward the Luoguang River. Recognizing his enemy's logistical exhaustion, An Bangyan dispatched his confidant Chen Qiyu to stage a deceptive surrender, misleading Ming forces into the narrow defiles of Neina Canyon. Concealed along vertical ridges, An Bangyan's warriors launched a devastating deluge of boulders, fire darts, and poisoned arrows. Wang Sanshan was captured and executed after refusing to yield, and more than one hundred imperial commanders fell in battle, causing the imperial army to collapse completely. An Bangyan capitalized on this victory to reclaim his territories and threaten Guiyang anew.
Following this disaster, the Ming court appointed Cai Fuyi as Supreme Commander of Yunnan-Guizhou and Governor of Guizhou, with Fu Zonglong serving as army-inspecting censor. Cai deployed General Lu Qin to repeatedly check An Bangyan's assaults near Puting and Kaili, while establishing a systematic perimeter defense along regional riverbanks. Between 1625 and 1626, An Bangyan launched multiple offensive sorties across the river barriers to break the blockade, but each attempt was repelled, leaving his forces confined to the rugged hills of Zhijin and Dafang.
The Final Counteroffensive and Death at Hongtuchuan
In the final years of the Tianqi era, following the internal assassination of She Chongming's son She Yin, the combined rebel coalition suffered severe attrition. In 1628 (the first year of the Chongzhen era), the Chongzhen Emperor recalled veteran strategist Zhu Xieyuan as Minister of War and Supreme Commander of Military Affairs for Five Southwestern Provinces. Zhu Xieyuan established strategic forward camps at Guizhu, restoring regional agriculture while constructing defensive rings that steadily starved Shuixi of weapons, iron, and salt.
In the spring of 1629, imperial forces recaptured Chishuiwei, tightening the cordon around the rebel core. Realizing that prolonged containment meant certain destruction, An Bangyan and She Chongming resolved upon a desperate offensive. Styling himself Grand Elder of the Four Borders alongside She Chongming's title King of Daliang, An Bangyan assembled a massive combined army of one hundred thousand tribal warriors to launch a furious assault against Yongning and Zunyi. Zhu Xieyuan correctly anticipated their tactical path, directing Guizhou Regional Commander Xu Chenming to execute a staged tactical retreat that drew the insurgent masses into the narrow mountain valley of Hongtuchuan.
On the morning of August 17, 1629, dense mountain fog blanketed the defile. Ming vanguard commander Li Shiqi sprang a devastating ambush from the cliffs, raking the canyon with concentrated crossbow volleys, while Zhu Xieyuan's main cavalry divisions closed the rear escape routes. Trapped in the ravine, the rebel forces fell into panic. An Bangyan fought desperately with his broadsword but was overwhelmed and killed in action alongside She Chongming. The rebel army was annihilated. In the spring of 1630 (the third year of the Chongzhen era), the isolated young chieftain An Wei submitted his formal surrender, yielding peripheral tribal districts where the Ming court established Zhenxi Guard, bringing the nine-year She-An Rebellion to an absolute conclusion.