Life and Career
Early Enlistment and Miao Frontier Trials
Yang Fang was born in 1770 during the thirty-fifth year of the Qianlong reign in Songtao Subprefecture, Guizhou Province. Born into an impoverished household, he displayed exceptional intelligence and an appetite for classical learning, mastering historical texts while rigorously training in horsemanship and archery. Despite his scholarly aptitude, he repeatedly failed the imperial civil examinations. In 1795, when the great Miao rebellion flared across the borderlands of Hunan and Guizhou, threatening the peace of southwestern provinces, Yang Fang abandoned academic pursuits and enlisted in the regional army as an administrative clerk.
During camp drills, general Yang Yuchun conversed with him and was astonished by his incisive military insights, practical knowledge of mountain terrain, and fearless demeanor. Convinced that Yang Fang possessed the rare instincts of an operational commander, Yang Yuchun strongly recommended him for commissioning as a platoon officer. Entering combat across the rugged valleys of the Miao frontier, Yang Fang fought with fierce bravery, consistently leading vanguard charges against fortified hilltop stockades. His exceptional tactical record earned him rapid promotions, elevating him to battalion commander in the Taigong garrison.
Campaigns in Sichuan and Hubei
In 1797, as the White Lotus rebellion spread across Hubei, Sichuan, and Shaanxi, Imperial Commissioner Eledengbao assumed supreme command. Hearing of Yang Fang's courage and unmatched reconnaissance skills, Eledengbao transferred him directly to his headquarters. Yang Fang scored an early victory by routing the forces of rebel leader Zhang Hanchao in Nanzhang, for which the imperial court awarded him the peacock feather. Navigating the treacherous mountain ravines of the Qinling range, Yang Fang personally led elite scout detachments into thick forests and cliffside trails to map enemy positions, enabling Eledengbao to execute surprise encircling maneuvers.
In 1799, after imperial forces smashed rebel leader Leng Tianlu at Rentouyan, several thousand disorganized insurgent troops retreated toward the Shisun River. Yang Fang pursued ahead of the main column with only nine horsemen. Arriving at the riverbanks, he discovered thousands of insurgents scrambling across the water against sheer cliffs with no viable retreat routes. Dispatching two couriers to summon reinforcements, Yang Fang led his remaining seven riders charging down the cliff with deafening war cries. The insurgents panicked and plunged into the river sandbars. When five transport boats loaded with rebel fighters attempted to push off, Yang Fang stood on the bank and unleashed five consecutive armor-piercing arrows, capsizing each vessel in succession. Reinforcements led by Yang Yuchun and Mukedengbu soon arrived to encircle and annihilate the panic-stricken host. The tactical feat was celebrated across the imperial army, earning Yang promotions to brigade major and regimental commander.
In 1800, rebel commanders Yang Kaijia and Zhang Tianlun surged toward Luonan in Shaanxi. Leading a thousand cavalrymen, Yang Fang outmaneuvered the enemy column by taking the eastern route and blocking their line of advance. At dawn, tracking rebel movements through water puddles left by recent rain, he rounded a mountain defile and found the valley floor congested with enemy troops. Without hesitation, Yang Fang led dozens of frontline horsemen directly into the rebel center, followed by the full cavalry charge that trampled the disordered ranks. For this smashing triumph, Emperor Jiaqing conferred upon him the imperial warrior title "Chengyong Baturu" and elevated him to brigade vice-commander. Across subsequent engagements at Chengxian, Jiezhou, and Modao Rock, he repeatedly engaged in hand-to-hand combat despite multiple leg and arm wounds, steadily eliminating prominent insurgent leaders.
Ningshan Mutiny and Restored Fortunes
In Shaanxi, Yang Fang established the Ningshan garrison brigade, enlisting five thousand elite local militia recruits known as the New Troops. Governed by Yang Fang's benevolent and accommodating command style, the troops developed deep personal devotion to him. However, in 1806, when Yang Fang was assigned to temporarily administer the Guyuan provincial command, vice-commander Yang Zhizhen assumed temporary charge of Ningshan. Yang Zhizhen withheld troop silver allowances and substituted spoiled corn for regular grain rations, triggering an armed mutiny. Rebel soldiers murdered Yang Zhizhen and rallied under the leadership of Pu Dafang. Remembering Yang Fang's past kindness, Pu Dafang covertly escorted Yang's family out of the insurgent zone before joining the mutineers.
The mutiny rapidly escalated into an open uprising across Yangxian and Liuba, with rebel ranks swelling to over ten thousand. Yang Fang rode day and night from Guyuan to relieve the besieged town of Huxian, fighting outside the battlements through the night and sustaining a severe arm wound. At dawn, when the mutineers recognized Yang Fang commanding on the walls, they broke off their assault and withdrew. Realizing that the mutineers were former subordinates who still held him in high esteem, Yang Fang boldly rode alone into the insurgent stockade. Addressing the assembled soldiers, he laid bare the strategic reality of imperial retribution and recalled years of shared hardship and battlefield brotherhood. Moved to tears by his earnest appeal, the mutineers dropped their weapons and surrendered en masse. Pu Dafang bound the primary ringleaders and presented them for trial. Although the uprising was quelled without further bloodshed, the imperial court censured Yang Fang for operational leniency, stripping him of rank and banishing him to Ili. Recognizing his indispensable valor, Emperor Jiaqing pardoned him the following year, restoring him to junior command positions.
Sapping of Huaxian and Rise to High Command
In 1813, while traveling to Beijing following the conclusion of his mother's mourning period, Yang Fang encountered the sudden outbreak of the Tianli Sect rebellion in Henan, where sect leader Li Wencheng had captured Huaxian. Imperial Commissioner Nayancheng immediately petitioned the throne to retain Yang Fang as commander of the Hebei Brigade. Partnering with Yang Yuchun, Yang Fang captured Daokou and pressed against Huaxian. When Henan Governor Gao Qi hesitated to commit his six thousand provincial troops due to political friction with the high command, Yang Fang mediated the dispute and integrated Gao's forces into the offensive. At the engagement of Huixian Sijhai, he personally cut down fleeing stragglers to steady his frontline and deployed arson tactics against stone redoubts, driving Li Wencheng to immolate himself.
Huaxian possessed formidable ramparts, holding out against imperial assaults for more than forty days. Yang Fang supervised military sappers to excavate a deep underground tunnel from the southwestern corner of the perimeter. After nine days of continuous tunneling, his engineers placed massive gunpowder mines directly beneath the stone foundations. The resulting explosion obliterated large sections of the ramparts, allowing imperial troops to pour into the breach and eliminate over twenty thousand defending rebels. For this decisive breakthrough, Yang Fang was granted the hereditary title of Yunqiwei, appointed to the Hanzhong brigade command, and elevated to Provincial Commander-in-Chief of Gansu in 1815. Under the Daoguang Emperor, he subsequently oversaw high military commands across Zhili, Guyuan, and Hunan.
Western Expedition and the Capture of Jahangir
In 1826, Jahangir Khoja, a descendant of the Afaqi Khoja lineage backed by the Kokand Khanate, instigated an extensive armed rebellion in Xinjiang, seizing Kashgar, Yangihissar, Yarkand, and Khotan. Fifty-six-year-old Yang Fang submitted an urgent memorial volunteering for frontier duty and was appointed Assistant Councillor to Imperial Commissioner Changling. Arriving at the frontier depot of Aksu, Yang Fang identified Keerping as the crucial gateway controlling southern oasis routes. Leading the vanguard in an irresistible assault, he captured Keerping and eliminated rebel general Yiman along with Kokandi commander Yoldash, clearing the march for the grand army.
In early 1827, advancing alongside Yang Yuchun and Wulong'a, Yang Fang secured three consecutive victories along the Hun River, shattering tens of thousands of insurgent horsemen and liberating Kashgar. He then led six thousand cavalrymen toward Khotan, executing a brilliant pincer maneuver at Pilaman to encircle and capture rebel leader Ga'erle. For these accomplishments, Emperor Daoguang conferred upon him the hereditary rank of Qiduwei and appointed him Imperial Bodyguard of the Qianqing Gate.
Jahangir fled beyond the imperial frontier posts into mountainous Central Asian passes. Dispatched alongside Yang Yuchun to scour the rugged borderlands, Yang Fang observed that treacherous defiles and logistical strain rendered extended operations impractical, while local nomadic chieftains could not be trusted. He therefore advocated withdrawing main forces into garrison bases while laying deceptive ambushes. After the main army withdrew eastward, Yang Fang remained in Kashgar as acting councillor and spread rumors that imperial forces had fully retreated behind the Great Wall. In late 1827, believing the frontier undefended, Jahangir led five hundred picked horsemen back across the frontier into the Ka'ertiegai Mountains. Receiving reliable intelligence, Yang Fang mobilized elite cavalry units under Hu Chao and Duan Yongfu, launching a relentless 24-hour pursuit across hundreds of li in freezing winter storms. Surrounding the canyon, imperial troops annihilated the rebel retinue, while Yang's commanders pursued Jahangir up steep crags and captured him alive.
Jahangir was transported to Beijing for imperial execution. For the singular triumph of capturing the supreme insurgent alive, Emperor Daoguang ennobled Yang Fang as the Third Class Marquis of Guoyong, granted him double-eyed peacock feathers, elevated him to Imperial Presence Bodyguard, and positioned his portrait at the very pinnacle of the Hall of Purple Splendor. In 1829, he was advanced to Second Class Marquis and bestowed the title Junior Preceptor to the Crown Prince.
Frontier Pacification and Maritime Clashes
In 1833, indigenous rebellions flared across Qingxi, Yuexi, and Ebian in Sichuan. Following the battlefield death of Commander-in-Chief Gui Han, Yang Fang took command, swiftly pacifying the outlying garrisons before storming the central mountain redoubts of Ebian. He executed key insurgent chieftains and accepted the submission of twelve allied native clans, for which he was promoted to First Class Marquis of Guoyong. However, when fresh local unrest erupted a year later, the throne held him accountable for administrative leniency, reducing him to Second Class Marquis and stripping his bodyguard titles, prompting Yang to retire on grounds of ill health. In 1836, he was recalled to command the Zhengan brigade in Hunan, pacifying local mutinies before ascending again to Commander-in-Chief of Hunan.
In 1840, the First Opium War broke out, culminating in the British capture of Dinghai and the crisis of southern sea defenses. In early 1841, Emperor Daoguang appointed Prince Yishan as General Pacifying the Rebels, naming seventy-one-year-old Yang Fang and Minister of Revenue Longwen as Assistant Councillors to lead operations in Guangdong. By the time Yang arrived in Guangzhou, the Bogue and Wuyong coastal fortresses had fallen, and provincial naval commander Guan Tianpei had perished in battle. British steam warships dominated the Pearl River estuary, directly menacing the provincial capital.
Inspecting coastal defenses, Yang Fang observed that imperial cannon batteries were immobile and drastically outranged by British naval guns, while green standard infantry morale was completely shattered. With maritime trade halted and foreign merchants seeking mediation through American intermediaries, Yang Fang and Guangdong Governor Yiliang jointly memorialized the throne, urging a temporary commercial truce to defuse British naval pressure and purchase critical time for hinterland defense preparations. Incensed by suggestions of compromise, Emperor Daoguang denounced Yang for obstructing military morale and ordered his dismissal, retaining him only under suspended sentence. When Yishan's subsequent frontal assaults failed disastrously in May 1841, forcing the signing of the Treaty of Guangzhou, Yang Fang cited advanced age and severe illness to resign. Permitted to return home on full pension, Yang Fang lived in retirement in Songtao until his death in 1846 at the age of seventy-six. Honoring his monumental frontier contributions, the court granted imperial burial expenses and bestowed the posthumous title Qinyong, while his marquisate was inherited by his grandson Yang Enke.