In the first year of Huang Kai (58 1), Emperor Wendi of Sui Dynasty ascended the throne in Zen, and the Sui Dynasty was established. Yang Xiong served as General Zuo Wei and concurrently as Zong Zhengqing. Soon, he was promoted to general right-back and participated in state affairs. Then he was named King Guangping, a food city with 5,000 households, and one of his sons was named Guan Gong. Yang Xiong asked his younger brother Yang to be an official, and the court agreed. Someone hit Gao Ke for cronyism, and Emperor Wendi of Sui asked Yang about it in court. Yang Xiong said, "I am a court guard, and I am by the emperor's side day and night. If I had a confidant, how could I not know! The emperor is wise and wise, and he watches every opportunity closely. Gao g is fair with his heart and acts according to law. This is the truth of love and hate. I hope your majesty can see it clearly. " Emperor Wendi of Sui Dynasty was deeply impressed. At that time, favored by dignitaries, he, Gao, Yu Qingze and Su Wei were called "Four big noble".
Yang Xiong is a tolerant and polite corporal, who is attracted by the ruling and opposition parties. Emperor Wendi of Sui hated his guts and hated him privately, and didn't want him to be in charge of the military forces. Therefore, Yang Xiong's appointment is commonplace. On the surface, it seems that it promoted him, but in fact it took away his military power. Yang Xiong didn't have a real job, so he closed the door. It was soon renamed King Zhang of Qing Dynasty. In the early years of Renshou (60 1), Emperor Wendi of Sui said: "The name of King Qingzhang does not meet the reputation of Yang Xiong." Let employees enter the picture, and Emperor Wendi of Sui pointed to Andejun and said to the ministers: "This name is in line with Yang Xiong's fame and virtue." So he changed his name to King Ender. In the first year of Daye (605), he served as the Prince Taifu. In the second year of Daye (606), Prince Yang Zhao of Yuan De died, and Yang Xiong stopped Zhengzhou's secretariat. After more than a year, he was appointed as the secretariat of Huaizhou, and soon he was appointed as Jing Zhaoyin. In the fifth year of the Great Cause (609), Yang Di personally expropriated the Gu Hun, and ordered the presidential Yang Xiong to have all horses in the water army. After returning to Beijing, he changed his name to Wang Guan. Yang Xiong resigned and said, "My early years coincided with the rise of the Sui Dynasty, and I was fortunate to be ranked at the bottom of the official list. With this destiny, there is luck at this time, depending on the situation; I have no virtue or talent, and I am the first official. Thanks to the special reward of the late emperor, your majesty has been especially gracious. I have been an official in Taiwan Province for a long time, and I often worry that I will be generous and steal my name again. I really should reflect on myself and take the liberty to do things according to the previous general rules; I really risk being favored by your majesty, so I am very worried that I can't perform my duties. Before Liu Jia was crowned king, where was the third-order responsibility? How does General Hong surpass the Fifth Class Merit? My official dress is more than that of Di Zi. I was appointed Jing Zhaoyin, second only to the descendants of the royal family. I got the territory and became the captain. My official robe is made of gold, and I founded the country and ruled the country. This makes me how to be a vassal. In the eyes of others, I will definitely say that I have got an arrogant rank. So, I expressed my stupidity and asked for grace to keep me going. Please take special care of your majesty and consider my sincerity. I have repeatedly caused trouble to the holy family, and I was scared into a cold sweat. "Emperor Yang Di issued a letter forbidding him to resign from the throne.
In the eighth year of Daye (6 12), Emperor Yang Di entered Koguryo, and General Zuo Wei, who was in Yang Xiong, left Liaodong Road. The troops were stationed in Liuhe Town, and Yang Xiong fell ill and died at the age of 7 1 year. Emperor Yang Di didn't go to court because of his death, so he asked Hongheng to handle his funeral. The relevant departments examined his behavior and demanded posthumous title, who was "taken" away by him. Emperor Yang Di said: "Wang De's nature is higher than the secular, and his moral character is higher than that of outsiders." So he gave him the virtue of posthumous title. He was posthumously awarded as the magistrate of Stuart and Guo Xiang, Wu 'an, Bohai, Qinghe, Shangdang, Hejian, Hebei, Gaomi, Yin Ji and Changping counties.