Biography
Early Brilliance and Diplomatic Defiance
Han Yanhui was born into an illustrious bureaucratic lineage in Anci of Youzhou. His father, Han Mengyin, served as regional inspector across Jizhou, Ruzhou, and Shunzhou during the late Tang regional fragmentation, earning widespread acclaim. Highly gifted from childhood, Han Yanhui mastered the classical canon and history while acquiring deep knowledge of northern geography and administrative statutes, celebrated across the Yan-Zhao region as a rising intellect.
During Liu Rengong's warlord dominion over Youzhou, Liu admired Han Yanhui's talent and inducted him into his provincial headquarters as Literature Attendant of Youdu and Recorder of Pingzhou, where he served alongside fellow junior official Feng Dao. He subsequently advanced to Revenue Commissioner of the Youzhou Surveillance Fleet, overseeing regional finances and logistics.
In 907, Liu Rengong's son Liu Shouguang staged a violent palace coup, imprisoning his father and usurping the military commission. Reckless and brutal, Liu Shouguang engaged in continuous warfare against Jin prince Li Keyong and Later Liang founder Zhu Wen, exhausting regional resources. Seeking an external protector, Liu Shouguang dispatched Han Yanhui as an ambassador across the northern steppe to forge an alliance with the Dila tribal leader, Yelü Abaoji.
Arriving at the Khitan imperial tent, Han Yanhui held his diplomatic tally and stood erect. Viewing himself as the supreme steppe overlord, Abaoji demanded that the envoy perform a full submissive prostration. Firmly adhering to Chinese court etiquette and ambassadorial dignity, Han Yanhui adamantly refused. Infuriated, Abaoji detained him and banished him to the harsh northern pastures to herd warhorses, intending to break his spirit.
Discovery by Shulü Ping and Rise as Chief Strategist
Throughout months of labor in the pasturelands, Han Yanhui maintained absolute composure, herding mounts by day and quietly reciting classical histories by night. Observing his unyielding dignity, Abaoji's formidable empress, Shulü Ping (later the celebrated Empress Dowager Yingtiang), solemnly cautioned her husband: "Han Yanhui was an emissary from the Central Plains who refused to bend his knees even in the face of death; this is a truly worthy and loyal minister! Your Majesty aspires to unite the steppe and absorb the four seas; why humiliate such a virtuous scholar by forcing him to herd beasts? Such cruelty will only alienate Han scholars. You ought to welcome him with high ceremonial honors and entrust him with governance!"
Convinced by her counsel, Abaoji immediately recalled Han Yanhui from the herds and hosted a lavish banquet in his honor. The two men deliberated through the night on geopolitical strategy, military operations, and dynastic institutions. Astonished by Han Yanhui's analytical clarity, Abaoji exclaimed: "Heaven has bestowed this supreme strategist upon me!" He formally appointed Han Yanhui as Senior Military Counselor, consulting him on all military expeditions and domestic reforms.
Over subsequent years, Han Yanhui served as Abaoji's primary intellectual pillar. In campaigns subjugating the Zubu, Tangut, and Shiwei tribes, as well as crushing internal rebellions among Khitan tribal kinsmen, Han Yanhui devised operational maneuvers and psychological warfare, playing an indispensable role in unifying the steppe tribes under Abaoji's emerging empire.
Urban Settlement and the Foundation of Dual Administration
At that time, the Khitans remained mobile pastoral nomads wandering in search of water and grazing land. Following frequent border raids, tens of thousands of Han Chinese civilians were captured and dragged into the steppe. Unaccustomed to nomadic survival and suffering from starvation and frostbite, Han captives escaped in droves, while ethnic frictions threatened border stability.
Han Yanhui presciently realized that if the Khitan confederation was to mature into a lasting imperial dynasty, it had to integrate nomadic military prowess with sedentary Chinese agrarian civilization. He submitted a landmark memorial to Abaoji, proposing a comprehensive program of settled colonization:
- Erecting Walled Towns and Urban Markets: Construct walled cities and structured market wards throughout the Xar Moron River basin and transitional agricultural zones, providing fortified, permanent habitats for surrendered and captured Han civilians.
- Arranging Marriages and Stabilizing Households: Forbid Khitan nomadic nobles from arbitrarily dissolving Han families, while arranging marriages for unattached Han men to restore community continuity.
- Distributing Farmland and Teaching Agrarian Techniques: Allocate fertile arable plains to Han households, distribute iron plowshares and grain seeds from state depots, and promote sedentary intensive agriculture under light taxation.
Abaoji adopted the entire program. Walled cities rapidly flourished across the southern steppe, surrounded by productive grain fields and bustling trade districts. Mass escapes completely ceased. Furthermore, hundreds of thousands of war-weary refugees from the war-torn Central Plains voluntarily migrated north across the Great Wall to settle under Khitan protection. This institutional revolution secured abundant agrarian tax revenues and iron armaments for the state, directly establishing the foundational framework of the Liao dynasty's dual governance system: "Governing the Khitans according to their tribal customs, and governing the Han according to Chinese laws." Deeply affectionate, Abaoji affectionately addressed Han Yanhui as "My Son."
Homesickness and Honorable Return
After years of service in the north, Han Yanhui was consumed by acute homesickness for his ancestral home and aging relatives. During an official inspection tour along the frontier, he yielded to personal grief and rode southward into Later Tang territory to rejoin the Central Plains.
However, the Later Tang court under Emperor Zhuangzong was plagued by vicious factionalism. Chancellor Wang Jian and jealous courtiers resented Han Yanhui's reputation, suspecting him of espionage and slandering him for having defected to the barbarians. Encountering universal coldness and paranoia, Han Yanhui realized that the Five Dynasties warlords were short-sighted militarists incapable of enlightened governance. Encouraged by his intimate friend Wen Tao, Han Yanhui sighed: "The Central Plains are sunken in factional darkness; this is no place to build a noble career. I shall return to the northern steppe to fulfill my lifelong ambitions!"
Han Yanhui turned his horse north, crossing the frontier passes back to Khitan territory. Learning of his return, Abaoji was overjoyed, walking out of his imperial pavilion to grasp Han Yanhui's hands: "Though you departed, I always knew that you possessed an open and noble heart and would never betray me!" Without uttering a word of blame, Abaoji restored all his offices, showering him with even greater intimacy and esteem. This celebrated episode of mutual loyalty became famous across both dynasties.
Founding Chancellor Across Four Reigns
In 916, Abaoji formally founded the Great Khitan State, adopting the reign title Shence. In 925, Emperor Taizu launched a massive campaign to annex the Bohai Kingdom in eastern Manchuria. Han Yanhui commanded the vanguard forces; when Bohai King Da Yinzhuan surrendered and then mounted a renewed defense of his capital, Han Yanhui coordinated siege operations, undermining the fortifications and taking Huhan City. Subsequently advancing to capture Changling Prefecture, he was rewarded with the appointment of Vice Director of the Left of the Masters of Writing (Shangshu Zuopuya), becoming the premier civil chancellor of the Khitan state.
In 926, Emperor Taizu passed away at Fuyu City during the return march. Han Yanhui wept so uncontrollably at his master's bier that all attending courtiers and guards were moved to tears, testifying to the genuine bond between the Khitan monarch and his Chinese adviser.
Under Emperor Taizong (Yelü Deguang), Han Yanhui was ennobled as Duke of Lu, serving concurrently as Director of Imperial Affairs (Zhengshi Ling). Following Later Jin's cession of the Sixteen Commanderies in 938, Han Yanhui served as supreme envoy to Kaifeng, cementing Khitan administrative sovereignty over the region before returning to oversee regional finances as Three Fiscal Commissioners of Nanjing.
During the reign of Emperor Shizong (Yelü Ruan), Han Yanhui advanced to Grand Chancellor of the Southern Bureau. In this office, he founded the Department of Imperial Affairs (Zhengshi Sheng), systematically replicating Tang civil service mechanisms and regularizing official examinations and bureaucratic promotions for Chinese subjects, transforming the Liao civil apparatus into a mature institutional state.
Under Emperor Muzong, aged over seventy, Han Yanhui retired with the supreme title of Grand Preceptor. In 959, he passed away peacefully at his estate at the age of seventy-eight. Emperor Muzong ceased court assemblies in mourning, posthumously bestowing the title of Prefect of the Masters of Writing and funding a full state funeral.