Xue Rengao , also known as Xue Renguo, was an emperor of the short-lived state of Qin, established by his father Xue Ju at the end of the Chinese dynastySui Dynasty. Xue Rengao was regarded as a fierce general but overly cruel, and he was only emperor for three months before he was forced to surrender to the Tang Dynasty general Li Shimin and was executed.
Under Xue Ju
As of 617, Xue Rengao's father Xue Ju was a commander of the local militia at Jincheng, when, in response to increasing agrarian rebel activities, Hao Yuan, the county magistrate of Jincheng, gathered several thousand men and had Xue Ju command them. In summer 617, as Hao held a feast to send the men off, Xue Ju, Xue Rengao, and 13 other cohorts took Hao captive and announced that they were rebelling against Sui Dynasty. Xue declared himself the "Hegemonic Prince of Western Qin", and he created Xue Rengao the Duke of Qi, and soon the Prince of Qi. With the major general Zong Luohou the Prince of Xing as his assistant, Xue Rengao attacked nearby commanderies, bringing them under his father Xue Ju's rule. In fall 617, after Xue Ju claimed the title of Emperor of Qin, he created Xue Rengao crown prince. Xue Rengao soon captured Tianshui, and Xue Ju moved his capital to Tianshui. Xue Rengao was said to be strong and capable at horseriding and archery, and his army respected him, believing that he was capable of standing up to 10,000 men on his own. However, he was also said to be greedy and cruel. For example, when he captured Yu Li, the son of the Sui official Yu Xin, angry that Yu Li dared to resist, he hung Yu on the fire and grilled him, and while doing so, cut his limbs off one by one and cut off his flesh to have his soldiers consume it. When he captured Tianshui, he gathered all the rich men and hung them upside down, pouring vinegar into their nostrils to force them to surrender their treasure. Xue Ju often warned him, "You are capable of great things, but you are strict and cruel, with no grace to others. One day you will surely destroy the state I established and our clan." Around the new year 618, Xue Ju sent Xue Rengao to attack Fufeng Commandery, but Xue Rengao was blocked by the rebel leaders Li Hongzhi, who had claimed the title of Emperor of Chu, and Tang Bi, who had claimed the title of Prince of Tang under Li. Xue Ju sent messengers to persuade Tang to submit, and Tang killed Li and then offered to surrender. Instead, Xue Rengao attacked Tang and seized his troops. Xue Ju then proceeded himself to Fufeng, intending to next attack the Sui capital Chang'an, which had been captured by the Sui general Li Yuan, who declared Emperor Yang's grandson Yang You the Prince of Dai emperor. Li Yuan sent his son Li Shimin against Xue Rengao, and Li Shimin dealt Xue Rengao a major defeat. In the aftermaths of the defeat, Xue Ju even considered surrendering to Li Yuan, although he was dissuaded from the idea by Hao, who had become an official under him, and who after this incident became a chief strategist for Xue Ju. In fall 618, after Xue Ju had a major victory over Li Shimin, forcing Li Shimin to withdraw back to the Tang capital Chang'an. Hao then suggested to Xue Ju that he should attack Chang'an at once, and Xue Ju agreed, but he then grew ill and died. Xue Rengao succeeded him as emperor.
Reign
In light of Xue Ju's death, Xue Rengao stopped his army briefly. A month later, he fended off an attack by the Tang general Dou Gui, and then, when another Tang general Li Shuliang the Prince of Changping arrived, Xue had some of his men pretend to surrender, and then ambushed Li Shuliang, crushing Tang forces. He soon also prevailed over Chang Da, capturing him. However, it was said that when Xue Rengao was crown prince, he had poor relations with many of his father's generals, and after he became emperor, those generals became fearful and were not wholeheartedly supportive of him. Further, Hao Yuan mourned Xue Ju so greatly that he himself grew ill and died. Three months after Xue Rengao took the throne, Li Shimin arrived, and after a fierce battle between Li Shimin and Zong Luohou in Qianshuiyuan, Li Shimin crushed Zong's forces, and then attacked Xue Rengao. Xue Rengao was forced to withdraw into the city of Gaozhi, and once he did, his soldiers began surrendering to Li Shimin en masse. Xue Rengao was himself forced to surrender. Li Shimin spared Xue Rengao's brothers and Zong, incorporating them into his army as officers. However, he took Xue Rengao back to Chang'an, and Emperor Gaozu executed Xue Rengao, as well as his generals Wu Shizheng and Zhang Gui.