The King of Loulan dispatched Prince An Gui as a hostage to the Xiongnu, while Prince Weituqi went to the Han court.
An Gui (安归)
安归
An Gui (安归, ? – 77 BCE), also recorded as Chang Gui, was the ruler of the kingdom of Loulan (later renamed Shanshan) in the Western Regions during the Western Han dynasty. The kingdom of Loulan occupied a critical strategic chokepoint along the ancient Silk Road, linking Dunhuang to the east, Yanqi and Qiuci to the northwest, and Qiemo and Yutian to the southwest, forcing it to vacillate perpetually between the rival empires…
PROFILE
An Gui (安归, ? – 77 BCE), also recorded as Chang Gui, was the ruler of the kingdom of Loulan (later renamed Shanshan) in the Western Regions during the Western Han dynasty. The kingdom of Loulan occupied a critical strategic chokepoint along the ancient Silk Road, linking Dunhuang to the east, Yanqi and Qiuci to the northwest, and Qiemo and Yutian to the southwest, forcing it to vacillate perpetually between the rival empires of Han and the Xiongnu. Prior to his death, the previous king of Loulan sent Prince An Gui as a hostage to the Xiongnu court and another prince, Weituqi, as a hostage to Chang'an. When the old king died, the Xiongnu learned of his passing first and swiftly escorted An Gui back to Loulan to assume the throne. Upon his accession, An Gui aligned his state fully with the Xiongnu, repeatedly obeying Xiongnu directives to gather intelligence on passing Han missions, ambushing Han caravans and diplomatic envoys heading toward Dayuan and Kangju, and assaulting Han soldiers, thereby severely disrupting trans-Eurasian trade and Han imperial diplomacy in the Western Regions. In the fourth year of the Yuanfeng era of Emperor Zhao of Han (77 BCE), responding to the persistent treachery of Loulan and Qiuci, General-in-Chief Huo Guang dispatched Fu Jiezi, Director of the Pingle Equerry, on an expedition to the Western Regions to resolve the border crisis. Bearing lavish gifts of gold and embroidered silks, Fu Jiezi proclaimed that the Han emperor was bestowing riches upon western monarchs. When An Gui initially treated the Han mission with arrogance, Fu Jiezi feigned righteous indignation and marched his troops toward the western border. Tempted by greed for the imperial treasures, An Gui galloped to Fu Jiezi's encampment to solicit gifts. Fu Jiezi hosted a grand banquet within a pavilion, displaying glittering coffers of gold and silks, and plied An Gui with heavy wine until he was thoroughly intoxicated. Fu Jiezi then whispered that he had secret imperial instructions to deliver privately. As An Gui stepped behind the interior screen, two concealed Han warriors lunged from the rear, thrusting swords through his chest and killing him instantly. Fu Jiezi severed An Gui's head and dispatched it by courier to Chang'an, where it was displayed at the Northern Gate of Weiyang Palace. The Han court subsequently installed the pro-Han prince Weituqi as the new sovereign, moved the royal seat to Yuni City, and renamed the realm Shanshan, firmly consolidating Han suzerainty over the southern route of the Silk Road.
- Alternative Name
- Chang Gui
- Dynasty / Era
- Western Han Dynasty
- Date of Death
- 77 BCE (4th year of the Yuanfeng era)
- Highest Office
- King of Loulan
- Accurate Identity Positioning
- Monarch of the Western Regions kingdom of Loulan during the Western Han dynasty, pro-Xiongnu ruler assassinated by Fu Jiezi
LIFE TIMELINE
Following the death of the old King of Loulan, the Xiongnu swiftly escorted An Gui back to succeed to the royal throne.
Submitting to the Xiongnu, An Gui repeatedly ambushed Han envoys and spied on Han forces in the Western Regions.
Han General-in-Chief Huo Guang dispatched Fu Jiezi with gold and silk to eliminate An Gui.
Fu Jiezi feigned departure; tempted by imperial gifts, An Gui rushed to the military camp to feast.
Lured behind the screen under the pretense of secret edicts, An Gui was slain by Han warriors; Loulan was renamed Shanshan.
Relationship graph
BIOGRAPHY
Biography
Life as a Royal Hostage and Dynastic Succession
An Gui was a royal prince of Loulan, an ancient oasis kingdom situated on the western shore of Lake Lop Nor in the Western Regions. Straddling the gateway linking the Hexi Corridor with the northern and southern slopes of the Tarim Basin, Loulan was small in population and military strength, caught between the relentless westward expansion of the Han Empire and the mobile cavalry hordes of the Xiongnu confederacy. In the first year of the Zhenghe era of Emperor Wu of Han (92 BCE), seeking to maintain a fragile equilibrium between the northern steppe nomads and the central plains empire, the reigning king of Loulan dispatched his elder prince An Gui as a royal hostage to the Xiongnu court while sending his younger son Weituqi to serve as a hostage in Chang'an.
Shortly afterward, the aged king of Loulan passed away. The ministers and nobles of Loulan dispatched envoys to Chang'an to escort Prince Weituqi back to ascend the throne. However, court officials in Chang'an hesitated, arguing that a royal hostage in imperial attendance could not be lightly released, and bureaucratic delays stalled their reply. The Chanyu of the Xiongnu seized this decisive opportunity. Learning immediately of the king's demise, the Xiongnu mobilized an elite cavalry escort that rode night and day to deliver Prince An Gui to Loulan, placing him on the throne. Although Han envoys subsequently arrived to reproach the court, An Gui had firmly consolidated his monarchical power under Xiongnu protection.
Subservience to the Xiongnu and Disruption of the Silk Road
Following his enthronement, An Gui observed the immediate proximity and martial ferocity of the Xiongnu, opting to commit his foreign policy entirely to the steppe empire. He rendered tribute and declared fealty to the Xiongnu Chanyu, throwing open Loulan's strategic mountain passes, desert trails, and water reserves to Xiongnu cavalry detachments. During this era, the Western Han dynasty was actively developing trade and diplomatic alliances across Central Asia, dispatching frequent embassies to Dayuan, Wusun, Kangju, and the Yuezhi. Goaded and coerced by Xiongnu commissars, An Gui covertly operated as the Xiongnu's intelligence network in the Tarim Basin. He monitored the itineraries, personnel, and armed escorts of Han envoys, guiding Xiongnu riders to ambush caravans along the perilous desert tracks of the White Dragon Dunes.
As the situation deteriorated, An Gui directed Loulan's own cavalry units to intercept and murder Han emissaries. Sang Hongyang, Han Superintendent of Agriculture, memorialized Emperor Zhao, enumerating how King An Gui had repeatedly broken treaties, assassinated Han envoys, and plundered imperial provisions, plunging the Southern Silk Road into chaos and eroding Han prestige among the oasis principalities. General-in-Chief Huo Guang and high court dignitaries resolved to eliminate the pro-Xiongnu monarch to reassert absolute control over the western frontiers.
Fatal Greed and Assassination at the Border
In the fourth year of the Yuanfeng era (77 BCE), Fu Jiezi, Director of the Pingle Equerry, volunteered to Huo Guang to lead a covert mission to the Western Regions to eliminate the traitorous rulers of Loulan and Qiuci under the guise of distributing imperial riches. Approving the plan, Huo Guang secured Emperor Zhao's mandate, equipping Fu Jiezi with elite warriors and lavish coffers of gold, precious embroideries, and refined Sichuan silks.
Upon arriving at the royal seat of Loulan, Fu Jiezi encountered an icy reception from An Gui, who, conscious of his misdeeds against Han, refused to welcome the Han ambassador outside the capital. Adapting swiftly, Fu Jiezi ordered his caravan to pack up and proceed westward. When they reached the western frontier of Loulan, Fu Jiezi summoned the royal interpreter and admonished him: "The Son of Heaven of the Great Han dispatched me laden with immense gold and silks to bestow honors upon obedient western states. Since the King of Loulan refuses to receive these gifts, I shall proceed to present every measure of treasure to the monarchs of Qiuci and Yutian!" The interpreter galloped back to the palace and reported this to An Gui. Overwhelmed by avarice and fearing the loss of boundless riches to rival states, An Gui hurried with several dozen courtiers to intercept Fu Jiezi at his military camp.
Fu Jiezi erected an ornate marquee, arraying open chests of shimmering gold, jade, and lustrous textiles, and hosted an opulent feast for the royal guest. Enchanted by the sight of unprecedented wealth, An Gui drank enthusiastically, soon succumbing to heavy inebriation. Judging the moment ripe, Fu Jiezi leaned forward and whispered: "The Son of Heaven has entrusted me with a secret imperial decree for your ears alone; pray step behind the curtain to receive it." Unsuspecting and unsteady on his feet, An Gui followed Fu Jiezi behind the partition screens. Concealed behind the draperies, Han warriors He Xin and Yang Boshu burst forth with drawn blades, driving two double-edged swords through An Gui's chest. The king collapsed in a pool of blood, dying without a cry.
Hearing the commotion, the Loulan courtiers outside panicked and prepared to flee. Fu Jiezi stepped from the pavilion holding An Gui's severed head, shouting sternly: "King An Gui committed high treason against the Son of Heaven by submitting to the Xiongnu and slaughtering Han ambassadors! The Han emperor dispatched me to execute the rebel! The imperial court will install Prince Weituqi, currently in Chang'an, as your sovereign. If any among you dare stir, imperial armies will crush your cities into dust!" Overawed by Han martial resolve, the gathered nobles fell to their knees in submission. Fu Jiezi dispatched couriers carrying An Gui's severed head across the desert to Chang'an, where Emperor Zhao ordered it suspended beneath the Northern Gate of Weiyang Palace for three days. The Han court subsequently escorted Prince Weituqi back to reign over the kingdom, renaming the state "Shanshan" and establishing a permanent military garrison and agricultural colony at Yixun, decisively consolidating Han mastery over the Southern Silk Road.
Major Achievements
Severing the Southern Route of the Silk Road
Following his accession, An Gui shattered the traditional neutrality maintained by his predecessors between the Han Empire and the northern nomads, casting his lot entirely with the Xiongnu. By opening Loulan's strategic desert passages and water stations to Xiongnu raiding parties, he turned the kingdom into a forward staging base for nomadic incursions along the southern rim of the Tarim Basin. His covert surveillance and armed interdictions against Han diplomatic missions crippled transcontinental communications and commerce for over a decade, exerting a profoundly disruptive influence on Han imperial strategy in Central Asia.
Catalyzing Han Colonization and the Establishment of Shanshan
An Gui's dramatic assassination marked a transformative turning point in Han frontier administration. Fu Jiezi's surgical strike dismantled the pro-Xiongnu ruling faction without requiring a costly military mobilization. This event led directly to the enthronement of the pro-Han sovereign Weituqi, the renaming of Loulan as Shanshan, and the relocation of its capital. More significantly, it prompted the Han court to establish an imperial agricultural colony and permanent military garrison at Yixun, establishing the institutional foundation for formal Han administrative governance throughout the Western Regions.
Personal Relationships
- Brother: Weituqi.
- Adversary and Assassin: Fu Jiezi.
- Imperial Architect: Huo Guang.
- Assassinating Warriors: He Xin, Yang Boshu.
- Nomadic Overlord: Chanyu of the Xiongnu.
- Imperial Sovereign: Emperor Zhao of Han.
Historical Evaluations
- Ban Gu, Book of Han, Vol. 70, Biographies of Fu, Chang, Zheng, Gan, Chen, and Duan: "Loulan and Qiuci repeatedly intercepted and killed Han envoys. Taking advantage of his arrogance, Jiezi drew near and assassinated An Gui, awe-inspiring barbarian tribes and achieving unmatched distinction in his generation."
- Sima Guang, Zizhi Tongjian: "Jiezi marched into the perilous lair of barbarians with a mere thirty men, severed the head of their ruler, and reported back to the Son of Heaven. Combining courage and wisdom, even ancient champions could not surpass him. Meanwhile, An Gui courted disaster through blind greed, making his destruction richly deserved."
- Fan Ye, Book of the Later Han, Treatise on the Western Regions: "Since the Han opened the western frontiers, Shanshan and Jushi held the strategic nexus. An Gui vacillated and leaned upon the Xiongnu; when imperial retribution struck, his severed head hung from the Northern Gate—a tragedy born of a petty state's greed and treason."
- Wang Fuzhi, Du Tongjian Lun: "An Gui allied with the Xiongnu to slaughter imperial ambassadors, sealing his own doom through historical momentum. Though Fu Jiezi triumphed through cunning stratagem, the permanent pacification of distant lands was founded upon this deed."
Related Entries
- Fu Jiezi
- Loulan
- Shanshan
- Weituqi
- Huo Guang
- Silk Road
- White Dragon Dunes
FIGURES ASSOCIATED WITH THIS DYNASTY
Bibliography
- Book of Han, Vol. 96A, Treatise on the Western Regions: Loulan
- Book of Han, Vol. 70, Biographies of Fu, Chang, Zheng, Gan, Chen, and Duan: Biography of Fu Jiezi
- Book of Han, Vol. 8, Annals of Emperor Zhao