Yuwen Huaji


Yuwen Huaji was a general of the Chinese Sui Dynasty who, in 618, led a coup against Emperor Yang of Sui, killing him. He subsequently declared Emperor Yang's nephew Yang Hao emperor and led Emperor Yang's elite Xiaoguo Army north, but was then repeatedly defeated by Li Mi, Li Shentong, and finally Dou Jiande. Believing that his defeat was near and wanting to be emperor before his ultimate defeat, he poisoned Yang Hao and declared himself the emperor of a Xu state. Dou captured him in 619 and killed him.

Background

It is not known when Yuwen Huaji was born. He was the oldest son of the Sui Dynasty official Yuwen Shu, a close associate of Yang Guang the Prince of Jin, the son of Sui's founder Emperor Wen, and played a large role in helping Yang Guang displacing his older brother Yang Yong as Emperor Wen's crown prince in 600. Thereafter, Yuwen Huaji served as a guard commander for Yang Guang's palace. It was said that he often rode strong horses at a high speed through the streets of the capital Chang'an, holding a sling and shooting stones from the sling, and several times, he was removed from his post for receiving bribes, but each time Yang Guang persuaded Emperor Wen to restore him, and Yang Guang gave a daughter to Yuwen Huaji's brother Yuwen Shiji in marriage.
In 604, Emperor Wen died—a death that traditional historians generally believed to be a murder ordered by Yang Guang, although they admitted a lack of direct evidence—and Yang Guang took the throne as Emperor Yang. He made Yuwen Huaji the deputy minister of husbandry. In 607, Emperor Yang visited Yulin Commandery, and Yuwen Huaji and another brother, Yuwen Zhiji engaged in forbidden trade with Tujue. Emperor Yang was incensed and ordered that they be executed, but at the last minute spared them, formally awarding them to their father Yuwen Shu as slaves.
In 616, with the northern empire engulfed in agrarian rebellions, Emperor Yang, at Yuwen Shu's suggestion, went to Jiangdu. Yuwen Shu and his sons followed Emperor Yang there, and in winter 616, Yuwen Shu died. Emperor Yang, remembering Yuwen Shu's contributions to him, made Yuwen Huaji a general and returned his brother Yuwen Zhiji to office as well. He also allowed Yuwen Huaji to inherit Yuwen Shu's title of Duke of Xu.

Coup against Emperor Yang

Emperor Yang, believing that he was well-protected by the elite Xiaoguo Army and not wanting to return to the turbulent north, considered moving the capital to Danyang. Meanwhile, Xiaoguo soldiers were largely from Guanzhong, and they missed their home. Once they saw that Emperor Yang was not intending to return, they considered fleeing. Several Xiaoguo officers—the chief among whom were Sima Dekan, Pei Qiantong, and Yuan Li —planned an organized plot to flee. When two of the officers involved in the plot, Yuwen Zhiji's friend Zhao Xinshu and Yuwen Zhiji's nephew Yang Shilan, discussed the plan with Yuwen Zhiji, Yuwen Zhiji opined that if the Xiaoguo soldiers fled, they would surely be chased down and executed; rather, he suggested that they carry out a coup instead. At the suggestion of Zhao and Xue Shiliang, they decided to invite Yuwen Huaji to be their leader. Yuwen Huaji, who was described as cowardly, initially panicked when offered the leadership, but eventually accepted.
In late spring 618, the Xiaoguo officers carried out their plot, and as they were trusted officers, they were able to quickly gain access to the palace. They quickly entered the palace, initially declaring that they were only intending to ask Emperor Yang to return to Chang'an, but soon showed that they intended more by starting to denounce Emperor Yang for his crimes, as well as killing his youngest son Yang Gao, the Prince of Zhao. Emperor Yang offered to commit suicide by poison, but poison could not be found quickly, and so one of the officers, Linghu Xingda, strangled him with his scarf as he requested.
Yuwen Huaji briefly considered declaring Emperor Yang's brother, the former Prince of Shu Yang Xiu, emperor, but the other coup leaders opposed the idea, and so Yang Xiu and his sons were put to death, as were Emperor Yang's son Yang Jian the Prince of Qi, Emperor Yang's grandson Yang Tan the Prince of Yan, and other members of the imperial Yang clan. A number of high level officials, including the prime minister Yu Shiji, Pei Yun, Lai Hu'er, Yuan Chong, Yuwen Xie, Yuwen Jiong, and Xiao Ju the Duke of Liang, were also put to death. However, as Emperor Yang's nephew Yang Hao, the Prince of Qin, was a friend of Yuwen Zhiji, Yuwen Zhiji protected him, and Yang Hao was not killed. Yuwen Huaji also spared two other key officials—Pei Ju and Su Wei.

As regent over Yang Hao

Yuwen Huaji declared himself grand chancellor and effectively served as regent. He issued an edict in Empress Xiao's name, declaring Yang Hao emperor, but did not allow Yang Hao to actually exercise any imperial authorities. He soon gathered Emperor Yang's court, including his concubines and ladies in waiting, as well as officials, and began heading back northwest, toward the eastern capital Luoyang, leaving the general Chen Leng in charge at Jiangdu. On the way, the Xiaoguo officers Mai Mengcai, Qian Jie, and Shen Guang tried to carry out a counter-coup to overthrow Yuwen Huaji and to avenge Emperor Yang, but they only succeeded in killing the co-conspirator Yuan Min before they were surrounded and killed.
Meanwhile, Yuwen Huaji began to live in luxury, using items and ceremonies only appropriate for emperors. Not willing to abandon Emperor Yang's treasures, he carried them along, at great expense in manpower. Shocked at Yuwen Huaji's conduct, Sima Dekan, Zhao Xingshu, along with several other officers, plotted against Yuwen Huaji, planning to support Sima as leader instead. However, when they secretly asked for support from the nearby agrarian rebel leader Meng Haigong, Meng did not respond quickly, and the plot leaked. Yuwen Huaji sent Yuwen Shiji to arrest Sima. He rebuked Sima:
Sima responded:
Yuwen Huaji then had Sima executed.
As Yuwen Huaji approached Luoyang, the rebel leader Li Mi, who controlled the region, resisted him. Yuwen Huaji initially could not get past Li, and therefore went to and took over Dong Commandery. Both Li Mi and the Sui officials at Luoyang were apprehensive of Yuwen Huaji's next move, and they, previously enemies, entered into an alliance where Li, previously showing imperial ambitions of his own, accepted a Sui-bestowed title of Duke of Wei and nominally submitted to Yang Tong. Yuwen Huaji made several attacks on Li Mi but could not prevail. Li, knowing that Yuwen Huaji's food supplies were running out, pretended to offer peace to Yuwen, agreeing to supply Yuwen's army with food, but instead planning to withhold food and, once Yuwen's food supplies did run out, attack. Li's plans, however, became known by Yuwen, and he in turn made a surprise attack on Li, nearly killing Li, but Li's general Qin Shubao protected Li from death, and eventually Yuwen was repelled. Yuwen, unable to gain food, headed north away from Li, and Li did not trail him. Many of his soldiers surrendered to Li, but he still had some 20,000 men by this point.
After Yuwen Huaji reached Wei, his close associate Zhang Kai, who had previously helped him suppress Sima's plot, plotted against him. Yuwen Huaji discovered the plot and executed Zhang and his co-conspirators, but by this point was growing increasingly despondent over the increasing desertions from his rank. He and his brothers often feasted and wept at the feast, and he and Yuwen Zhiji blamed each other for the plot. Yuwen Huaji, believing that defeat was near, wanted to take imperial title. In fall 618, he therefore poisoned Yang Hao to death and declared himself emperor of the state of Xu.

As emperor

In spring 619, Yuwen Huaji attacked Yuan Baozang, a general previously under Li Mi. Yuan surrendered to Tang, and subsequently, the Tang general Li Shentong, in turn attacked Yuwen Huaji. Yuwen Huaji could not resist Li Shentong's attacks and fled east to Liaocheng. Li Shentong trailed him and put Liaocheng under siege.
Yuwen Huaji then tried to use the treasures he carried to entice other rebel generals into assisting him. Wang Bo accepted, and entered Liaocheng to help defend it. Soon, however, Yuwen Huaji ran out of food and offered to surrender to Li Shentong. Li Shentong's assistant Cui Min'gan suggested that Li Shentong accept the surrender, but Li Shentong, wanting to show off his power and also to seize Yuwen's treasures to award to his soldiers, refused. Meanwhile, Yuwen Huaji had sent Yuwen Shiji out of the city to seek food, and Yuwen Shiji was able to deliver some food supplies to Liaocheng, allowing Yuwen Huaji to recover somewhat, and therefore he withdrew his surrender offer and continued to resist. Li Shentong could not capture the city.
However, Dou Jiande the Prince of Xia, another rebel leader intent on attacking Yuwen Huaji, soon arrived, forcing Li Shentong to withdraw. Dou put Liaocheng under siege as well, and Wang Bo opened the city gates to welcome Xia forces in. Dou captured Yuwen Huaji and, referring to himself as "your subject" when greeting Empress Xiao, declared a mourning period for Emperor Yang and comforted the Sui officials. He arrested Yuwen Zhiji, Yang Shilan, and several other associates of Yuwen Huaji, executing them publicly. He then delivered Yuwen Huaji and Yuwen Huaji's sons Yuwen Chengji and Yuwen Chengzhi to his base Xiangguo and had them beheaded in public. Before Yuwen Huaji was executed, the only thing he stated was, "I have never done any harm to the Prince of Xia!"
Yuwen Huaji's brother, Yuwen Shiji, survived and later became an important official of the new Tang Dynasty.

Family

Note: In the novel Shuo Tang Yanyi, he has a son named Yuwen Chengdu, who is said the strongest warrior of Sui Dynasty, and other two sons named Yuwen Chenglong and Yuwen Chenghu.