Biography
Early Frustration and Grand Ambition
Yin Wei was born into the prestigious Yin lineage of Tianshui Commandery in Longyou. He stood eight chi tall with a broad waist, displaying an imposing physique and open, spirited eloquence. Disdaining private commercial enterprise and domestic estate management, he immersed himself in the Confucian classics and dynastic histories. Whenever reading historical accounts of virtuous ministers and monarchs who achieved extraordinary historical deeds, he closed his books and sighed with longing, confident that he would one day serve as a premier statesman of the realm.
However, his early career was severely obstructed by political misfortune. In 357, Former Qin's Inspector of Bing Province Yin Chi defected to the hostile Qiang chieftain Yao Xiang. Following this betrayal, Former Qin Emperor Fu Jian harbored deep suspicion toward the Tianshui Yin lineage, subjecting the clan to decades of political ostracism and excluding their talented scions from high office.
Yin Wei remained relegated to the humble clerkship of Administrative Scribe in the Masters of Writing well into his maturity. Despite his low rank, his proud demeanor and razor-sharp geopolitical analyses intimidated his bureaucratic colleagues. In the twilight of Fu Jian's reign, when imperial astrologers observed an ominous star in the Well constellation, Yin Wei deduced that Former Qin's militaristic exhaustion was leading to rapid collapse. Overjoyed, he bowed toward heaven in gratitude before bursting into tears. When his close friend Huan Shi inquired why he wept amid celebration, Yin Wei declared: "The world is about to shatter into turmoil, which signals the ascent of true hegemons and our opportunity to achieve greatness. Yet encountering an enlightened sovereign who truly understands me is exceedingly rare; I weep lest my lifelong talents remain unfulfilled."
Founding the Regime and Impressing Fu Jian
In 383, Former Qin suffered an epochal defeat at the Battle of Fei River, plunging northern China into territorial fragmentation. In 384, Former Yan general Murong Chui rebuilt Later Yan in eastern China, while Murong Hong launched a rebellion in Guanzhong. Fu Jian ordered Duke Fu Rui and General Yao Chang to suppress Murong Hong. Fu Rui disregarded Yao Chang's prudent warnings, advancing rashly and dying in battle. Terrified of Fu Jian's punitive vengeance, Yao Chang fled north of the Wei River.
At this critical juncture, chaos swept across Longyou and Guanzhong. Western clan leaders, including Yin Xiang, Zhao Yao, and Yin Wei, gathered over fifty thousand households of Qiang, Han, and Di civilians fleeing devastation. The multitude converged to acclaim the experienced and reputable Yao Chang as supreme warlord. Initially, Yao Chang hesitated out of modesty and lingering dynastic hesitation.
Stepping forward, Yin Wei confronted Yao Chang with compelling historical urgency: "Former Qin has exhausted its moral virtue and the north is in flames. This is undeniable proof of heaven abandoning the Fu clan! General, your benevolence is revered among the western tribes and your strategic acumen exceeds that of all rivals. If you refuse heaven's clear mandate, catastrophe will surely follow. You must ascend the throne to give peace to the people!" Deeply moved by this exhortation, Yao Chang proclaimed himself Grand General, Great Chanyu, and King of Wannian Qin, officially inaugurating the Later Qin state. Recognizing Yin Wei as his foremost founding advisor, Yao Chang appointed him Right Marshal of the Grand General, entrusting him with vital statecraft and military strategy.
In the eighth month of 385, Later Qin forces captured Former Qin Emperor Fu Jian at Xinping. Yao Chang demanded the imperial seal, but Fu Jian adamantly refused. Yao Chang subsequently dispatched Yin Wei to persuade Fu Jian to abdicate the imperial throne through formal abdication rituals. Confronting Yin Wei, Fu Jian denounced Yao Chang as a treacherous rebel.
Yet during their subsequent discourse on dynastic rises and military theory, Fu Jian was deeply impressed by Yin Wei's exceptional intellect and profound administrative acumen. Astonished, Fu Jian asked: "What office did you hold under my administration?" Yin Wei calmly replied: "An Administrative Scribe in the Masters of Writing." Fu Jian looked up and lamented with bitter grief: "You possess the caliber of a premier chancellor, standing truly on equal footing with Wang Meng! That I possessed such extraordinary talent without recognizing you makes my downfall entirely deserved!"
Ministerial Integrity and Regulating the Realm
Following Yao Chang's accession to the imperial dignity, the Later Qin regime was locked in protracted, exhausting warfare against Fu Deng, who led Former Qin loyalist forces in Longyou. Yao Chang fought numerous inconclusive battles against Fu Deng. To discover sustainable principles of state consolidation, Yin Wei personally sought counsel from the reclusive scholar Gucheng Shen, securing the foundational counsel to "practice benevolence, recruit worthy scholars, and drill armies while awaiting divine opportunity," which guided Later Qin through years of regional attrition.
At court, Yin Wei was sternly upright and fiercely despised flattering sycophants. Duan Keng of Fengyi was an agile flatterer who won Yao Chang's favor through superficial literary charm, attaining the prestigious post of Regular Attendant. Yin Wei repeatedly insulted and censured Duan Keng during imperial assemblies. Displeased, Yao Chang confronted Yin Wei: "You are not a diligent scholar yourself; why do you detest erudite men so violently? You boast without self-awareness, perpetually likening yourself to Xiao He of Han. Can you truly compare with Xiao He?"
Yin Wei replied with dignified composure: "Emperor Gaozu of Han and Xiao He both rose from common obscurity, thus cherishing mutual respect. Your Majesty rose from hereditary nobility, thus holding humble servants in contempt. While I acknowledge my inferiority to Xiao He, Emperor Gaozu surpassed Your Majesty precisely because he distanced himself from fraudulent deceivers like Duan Keng!" Yao Chang was struck silent, recognizing the profound truth in Yin Wei's admonition, and immediately reassigned Duan Keng to Administrator of Beidi, purifying the imperial entourage.
In 391, local chieftain Gou Yao offered nominal allegiance to Later Qin while secretly conspiring with Fu Deng. Yao Chang detected the conspiracy and instructed Crown Prince Yao Xing, who was guarding Chang'an, to apprehend Gou Yao. Upon capturing the rebel, Yao Xing instructed Yin Wei to publicly enumerate Gou Yao's treasonous crimes before executing him, pacifying the frontier. In 393, when Fu Deng besieged Dou Chong at Yerenbao and Dou Chong requested emergency relief, Yin Wei urged Yao Chang to dispatch Crown Prince Yao Xing to command the expedition. Yao Xing achieved a stunning victory, cementing his martial prestige among the armed forces.
In the twelfth month of 393, Yao Chang fell critically ill. On his deathbed, he summoned Yin Wei, then Vice Director of the Left of the Masters of Writing, along with Taiwei Yao Min, Yao Huang, and Di Bozhi. Gripping Yao Xing's hand, the dying monarch delivered solemn instructions: "Yin Wei and Yao Huang are venerable pillars of our state whose strategic wisdom is vast. In governing the realm, you must place unreserved trust in these senior ministers and never heed slanderous whisperings from superficial intriguers!"
The Climax of Feiqiao and Securing the Throne
In early 394, Yao Chang passed away in Chang'an. Yao Xing concealed the demise, assuming the temporary title of Grand General and appointing Yin Wei as Chief Clerk and Di Bozhi as Marshal to guard the realm.
Learning of Yao Chang's passing, Former Qin Emperor Fu Deng mobilized his entire armed force from Longyou in a desperate offensive to take Chang'an. Fu Deng marched toward the strategic crossing of Feiqiao in Shiping Commandery. Yao Xiang, the Administrator of Shiping, held out at Mawei Fortress against overwhelming odds. Fearing a catastrophic defensive rupture, Yao Xing advanced with imperial cavalry while dispatching Yin Wei with the primary infantry column.
Arriving at the front, Yin Wei quickly identified the strategic crux. Adopting Yao Xiang's tactical suggestion, he outpaced Fu Deng's vanguard and seized the Feiqiao bridgehead, entrenching his troops and severing the river water supply. Exhausted by their forced march and desperate for water under the summer heat, Fu Deng's troops launched wave after wave of furious assaults. Standing on the ramparts, Yin Wei directed deadly crossfire from archers, repelling more than ten assaults. Within days, two to three out of every ten enemy soldiers died of thirst, and enemy morale cracked.
Seeing the enemy wavering, Yin Wei prepared a decisive counterattack. At that moment, fearing that a desperate enemy might inflict heavy casualties, Yao Xing dispatched Di Bozhi on horseback carrying an urgent order: "The Art of War teaches that overcoming an enemy without battle is the highest art! Fu Deng is a desperate foe; we must hold defensive lines rather than risk an open engagement."
Yin Wei drew his sword and vehemently swore before the messenger: "The late emperor has just ascended to heaven, and the hearts of our people are shaken with dread! If we do not seize this moment of collective resolve to annihilate this enemy, our grand enterprise will turn to dust! The survival of our empire hangs on this hour; I, Yin Wei, stake my life upon this fight!" Defying the withdrawal command, Yin Wei unleashed his full army in a ferocious assault. The Later Qin troops struck like a tidal wave, shattering Fu Deng's front lines before nightfall. That night, the Former Qin army disintegrated completely. Fu Deng fled alone to Yong, where he was subsequently captured and killed by Yao Shuode. The total victory at Feiqiao eliminated the Former Qin regime forever, enabling Yao Xing to officially announce his father's funeral and ascend the imperial throne.
Administrative Legacy and Posthumous Glory
In 397, following the passing of Empress Dowager Yuan, Yao Xing was overwhelmed with filial grief and neglected administrative duties. Most ministers advised following the Han and Cao Wei precedent of terminating formal mourning upon burial. However, Secretary Li Song proposed that the emperor should wear plain mourning garments during court assemblies to model filial piety.
Yin Wei stood forth to deliver a stern institutional refutation: "Since ancient times, wise monarchs such as Emperor Gaozu of Han and Emperor Wu of Wei established clear statutes to stabilize governance. Li Song exceeds his station by attempting to overturn established dynastic precedents. He should be delivered to the judiciary for punishment! The court must resume proper robes upon burial to prioritize the affairs of state." Although Yao Xing adopted Li Song's suggestion out of personal devotion, the court deeply respected Yin Wei's principled insistence on institutional governance.
In the winter of that year, the nomadic leader Xue Bo rebelled and besieged Yao Xiang at Jincheng. Yao Xing dispatched Duke Yao Chong and Yin Wei to suppress the uprising. Stranded in rugged terrain, the expeditionary force faced acute logistical failure and starvation. Yin Wei decisively advised Yao Chong to enforce martial law, publicly executing General Supporting the State Mijie Gaodi and General Establishing Integrity Du Cheng for gross supply negligence. Both men were influential tribal chieftains; their public execution terrified regional tribal lords, who mobilized day and night to deliver over five hundred thousand shi of grain within days, enabling the swift suppression of the rebellion.
Serving two successive emperors, Yin Wei held the offices of General Supporting the State, Colonel Director of Retainers, and Vice Director of the Left, directing administrative and military councils for decades. In recognition of his foundational services, he was ennobled as Marquis of Qinghe, echoing the title previously bestowed upon Wang Meng.
Upon Yin Wei's passing, Yao Xing was devastated with grief, posthumously conferring upon him the office of Minister over the Masses (Situ) and the posthumous title "Zhongcheng" (Loyal and Accomplished). In 412, Yao Xing designated the most illustrious founding ministers to be enshrined in the ancestral temple of Yao Chang; Yin Wei was the sole Han scholar-general placed alongside premier imperial princes, securing eternal honors in Later Qin history.