Appointed Jail Warden of Jiangyin County as an imperial tribute student, establishing disciplined public security.
Yan Yingyuan (阎应元)
阎应元
Yan Yingyuan (阎应元, ?–1645), courtesy name Liheng, was an illustrious military commander and national hero of the late Ming Dynasty hailing from Tongzhou in North Zhili. In 1641, he was appointed Jail Warden (dianshi) of Jiangyin County in Changzhou Prefecture, where he gained universal public admiration by eradicating pirate flotillas along the Yangtze River. In June 1645, following the fall of Nanjing to invading Manchu…
PROFILE
Yan Yingyuan (阎应元, ?–1645), courtesy name Liheng, was an illustrious military commander and national hero of the late Ming Dynasty hailing from Tongzhou in North Zhili. In 1641, he was appointed Jail Warden (dianshi) of Jiangyin County in Changzhou Prefecture, where he gained universal public admiration by eradicating pirate flotillas along the Yangtze River. In June 1645, following the fall of Nanjing to invading Manchu armies, Prince Dodo enforced the coercive Queue Order, decreeing that all Han males shave their foreheads under penalty of death. Outraged by the destruction of ancestral rites and national sovereignty, the citizenry of Jiangyin rose in armed rebellion and unanimously pleaded with Yan Yingyuan—who was preparing to take up a promotion in Guangdong—to assume supreme military command of the isolated city. Yan accepted the perilous commission. Directing one hundred thousand citizen volunteers across eighty-one harrowing days, Yan fortified crumbling ramparts, deployed artillery, and repulsed relentless assaults launched by over two hundred and forty thousand Qing soldiers commanded by Prince Bolo and Prince Nikan. The defense claimed the lives of three Qing princes, eighteen generals, and over seventy-five thousand elite Qing troops. When the breached fortress finally collapsed during torrential rains in October 1645, Yan engaged in desperate urban combat before being captured. Scorning offers of royal pardon, he refused to kneel, hurled defiance at the conquerors, and welcomed death with serene majesty, becoming an immortal emblem of Chinese chivalric defiance.
- Courtesy Name
- Liheng (丽亨)
- Ancestral Home
- Tongzhou, Shuntian Prefecture, North Zhili (present-day Tongzhou District, Beijing)
- Dynasty
- Ming Dynasty
- Date of Death
- October 9, 1645 (21st day of the eighth month, 2nd year of the Shunzhi Reign, Qing Dynasty / 1st year of the Hongguang Reign, Southern Ming)
- Highest and Major Offices
- Jail Warden of Jiangyin County (Jiangyin Xian Dianshi), Supreme Military Commander of the Jiangyin Defense Force
- Accurate Identity Orientation
- Eminent Late Ming Anti-Qing National Hero, Supreme Military Commander of the Eighty-One-Day Siege of Jiangyin, and Martyred Patriot
LIFE TIMELINE
Commanded riverine militia to intercept and incinerate the pirate fleet of Gu Sanmazi at Huangtian Port.
Promoted to Magistrate of Yingde in Guangdong; delayed his departure as Nanjing fell to the Manchu conquest.
The Jiangyin populace slew Qing magistrates over the Queue Order, kneeling at Yan's door to beseech his military leadership.
Repulsed dozens of massed scaling attacks by Qing armies, inflicting immense casualties with accurate artillery fire.
Qing heavy artillery breached the walls; captured during hand-to-hand street fighting and executed after refusing to bow.
The Qianlong Emperor posthumously honored his unyielding fidelity, awarding the posthumous title Zhonglie.
Relationship graph
BIOGRAPHY
Biography
Early Service and Pacifying the Yangtze Waterways
Yan Yingyuan was born in Tongzhou, North Zhili. Characterized from youth by austere personal courage, he excelled in mounted archery and classical military tactics while maintaining unblemished integrity. In 1641, having attained the rank of imperial tribute student (engong), the Ministry of Personnel appointed him Jail Warden of Jiangyin County in Changzhou Prefecture, an unranked administrative post responsible for municipal arrests, prisons, and local militia.
During this era, pirate fleets preyed upon the lower Yangtze. In the summer of 1644, the pirate chieftain Gu Sanmazi gathered hundreds of armed junks and sailed upriver to assault Huangtian Port, threatening Jiangyin. Terrified, the county magistrate barred the city gates and refused battle. Yan Yingyuan stepped forward, mobilizing one hundred local constables and volunteers across three light skiffs. Standing at the bow with his longbow, Yan fired volley after volley, felling hostile officers with lethal precision. Panicked by his accuracy, the pirate armada broke formation. Yan pursued relentlessly, incinerating dozens of pirate junks and capturing scores of outlaws, preserving the county from devastation and earning the local accolade "the miraculous Warden Yan."
The Queue Order and Universal Acclamation
In June 1645, Qing armies commanded by Prince Dodo captured Nanjing, taking the Southern Ming Hongguang Emperor prisoner. The Qing court quickly issued the draconian Queue Order: "Keep your hair and lose your head, or keep your head and lose your hair." The proclamation demanded that Chinese males abandon traditional topknots and adopt the Manchu hairstyle on pain of execution, provoking fury across Jiangnan.
When the newly installed Qing magistrate Fang Heng posted the shaving decree, the scholar-gentry and populace of Jiangyin gathered before the Confucian Temple in tears, proclaiming: "Our heads may fall, but our hair shall never be severed!" The citizens executed Fang Heng and repulsed initial Qing patrols. Having been recently promoted to Magistrate of Yingde in Guangdong, Yan was residing with his family outside the city walls at Shashan, preparing to travel south. Recognizing that defense required a seasoned military mind, former jail warden Chen Mingyu guided the city leaders to Yan's residence.
On July 14, 1645, dozens of gentry representatives knelt outside Yan's gate, weeping and begging him to lead the resistance. Although Yan could have escaped south to safety, he was moved by their loyalty, exclaiming: "If you do not begrudge your lives to repay the dynasty, how could Yan Yingyuan hoard his own head!" Donning his armor, Yan rode into the city and was unanimously proclaimed Supreme Commander of the Jiangyin Defense.
Eighty-One Days of Epic Resistance
Entering the city, Yan demonstrated genius in military logistics. He organized the population into defensive brigades, distributed firearms, reinforced the four gate towers, deepened the moat, and positioned heavy timbers and boulders along the parapets. Civilians of all ages participated willingly, hauling ammunition, cooking provisions, and boiling cauldrons of defensive pitch.
From late July onward, Qing armies led by Prince Bolo, Prince Nikan, and surrender-generals converged upon Jiangyin with two hundred and forty thousand soldiers. Initially expecting a quick capitulation, the invaders launched mass scaling assaults. Yan directed defense operations from the battlements, coordinating crossbow fire, homemade muskets, and boiling oil. Qing assault waves were cut down in swathes, with casualties piling as high as the battlements.
Frustrated by heavy losses, the Qing command hauled dozens of heavy European-style cannons (hongyipao) from Nanjing, erecting siege batteries to bombard the masonry walls continuously. Yan countered by digging subterranean shock-trenches inside the perimeter and packing sandbags into the breaches, while regularly launching midnight raids to spike hostile artillery and burn powder depots. Over eighty-one days of brutal siege warfare, the citizen army of Jiangyin slew eighteen hostile generals, three Qing princes, and more than seventy-five thousand elite soldiers, setting a peerless record of civilian resistance against imperial standing armies.
Urban Hand-to-Hand Combat and Defiant Death
On October 8, 1645, torrential rains lashed Jiangyin, compromising masonry battlements. The Qing brought up their full artillery batteries, blowing open a breach several dozen yards wide on the northeastern wall. Prince Bolo ordered eight-banner cavalry to charge through the opening.
Refusing to flee, Yan sat calmly on the gate tower and inscribed his farewell poem upon the wall: "Eighty days of topknots preserved our dynastic faith, Honoring the heroic men of seventeen imperial reigns; One hundred thousand hearts united to embrace martyrdom, Reserving three hundred leagues of pristine Ming earth!"
Drawing twin sabers, Yan led his personal bodyguards into the breached streets, engaging the invaders in savage urban combat. Slaying scores of enemy soldiers until his blades broke and his wounds mounted, he rode toward the Xixia Temple and leaped into a deep pond to preserve his purity. However, the receding waters left him stranded, and he was overwhelmed and captured.
Bolo ordered the prisoner brought into his headquarters. Surrounded by Qing commanders, guards attempted to force Yan to his knees. Yan kicked aside the guards, glaring with defiance: "I am a pure minister of the Great Ming; how could I kneel before foreign invaders!" Enraged, soldiers thrust spears through his lower legs, causing blood to pool around his feet, yet Yan remained standing, hurling curses until his last breath. That midnight, recognizing that Yan would never submit, Bolo ordered his execution. Yan died a martyr for his people.
Immortal Legacy and State Honors
Following the fall of Jiangyin, Qing forces unleashed a brutal three-day massacre. Not a single citizen surrendered, and tens of thousands perished rather than submit, imbuing Jiangyin with eternal renown. Surviving townspeople secretly buried Yan's remains outside the city.
In 1776, moved by his pure devotion, the Qianlong Emperor formally cleared the Jiangyin martyrs, conferring upon Yan Yingyuan the posthumous title Zhonglie (Loyal and Chaste) and establishing imperial sacrifices at his tomb. During the 1911 Revolution, pioneers such as Sun Yat-sen and Zhang Taiyan celebrated Yan Yingyuan as an immortal beacon of national resistance against despotic subjugation. Rising from an unranked jail warden to lead a historic defense, Yan Yingyuan's chivalric soul shines forever in the annals of Chinese history.
Personal Relationships
- Vice Commander: Chen Mingyu (Jiangyin jail warden who yielded command to Yan and died in battle)
- Civilian Colleague: Feng Houdun (County instructor who hanged himself upon the city's fall)
- Opposing General: Prince Bolo (Qing imperial prince who commanded the siege of Jiangyin)
- Opposing General: Prince Nikan (Manchu general who participated in the conquest of Jiangnan)
Historical Evaluation
- Inscription on City Wall: "Eighty days of topknots preserved our dynastic faith, honoring the heroic men of seventeen imperial reigns; one hundred thousand hearts united to embrace martyrdom, reserving three hundred leagues of pristine Ming earth."
- The Qianlong Emperor: "In the late Ming defense of Jiangyin, Yan Yingyuan stood unbending, viewing death with serene composure. His magnificent masculine fortitude and loyalty are truly worthy of inspiring all under Heaven."
- Qian Qianyi (Hou Hanshu Houxu): "An isolated citadel held for eighty days against a million besiegers, ammunition gone and relief cut off, marching to martyrdom without regret. Yan Liheng alone was sufficient to wash clean the three-hundred-year dignity of the Ming."
Related Entries
- Chen Mingyu
- Shi Kefa
- Dodo
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Ji Liuqi, Southern Overview of Late Ming (Mingji Nanlue), Volume 4, "Chronicle of the Jiangyin Defense"
- Han Tan, Sequel to the Chronicle of the Jiangyin Defense (Jiangyin Chengshou Houji)
- Wen Ruilin, Lost History of the Southern Marches (Nanjiang Yishi), Volume 7, "Biography of Yan Yingyuan"
- Xu Zi, Chronicles of the Minor Dynasties (Xiaotian Jinian), Volume 8