the government in light of the emergency) then defeated Liu Xiufan's remaining troops, ending the rebellion. In light of the victory, Xiao was promoted to be part of the decision-making nucleus, along with Yuan, Chu, and Liu Bing. Meanwhile, Emperor Houfei had begun to develop a reputation of being crazed and lacking in virtue. The people instead were hopeful that his cousin Liu Jingsu () the Prince of Jianping, who was an adult and was considered a kind and generous man, could become emperor. Many army officers were hoping to join a rebellion by Liu Jingsu, while Yang Yunchang and Ruan Dianfu, who wanted to hold onto power, wanted to eliminate Liu Jingsu as a potential threat. In 475, they wanted to act on an accusation that Liu Jingsu was plotting rebellion and arrest him, but were stopped from doing so by Yuan and Xiao. In summer 476, however, one of the army officers who was hopeful for a Liu Jingsu rebellion fled to Liu Jingsu's headquarters at Jingkou (京口, in modern Zhenjiang, Jiangsu), falsely telling Liu Jingsu that Jiankang was in disarray and that he needed to quickly proceed to Jiankang and take the throne. Liu Jingsu therefore started his uprising, but his forces lacked good generals. Meanwhile, Xiao sent Huang Hui to attack Liu Jingsu, and Huang, while secretly sympathetic of Liu Jingsu's cause, was hesitant to turn against Xiao because his lieutenants were all Xiao's confidants, and he defeated Liu Jingsu, who was captured and killed. By 477, Emperor Houfei's reputation was one that was feared and despised, for by this point Empress Dowager Wang and Consort Dowager Chen had completely lost control of him, and he was doing everything that he pleased. His guard corps would accompany him, and they killed humans and animals alike that they encountered, often in cruel manners. Emperor Houfei, indeed, would personally cut the victims open, and if he did not kill on a given day, he would appear depressed for the day. Because he was leaving and returning to the palace at all times during day or night, the palace guards would not dare to lock the palace gates, leaving palace defenses open. The situation was getting sufficiently severe that even Ruan, who had wanted to keep Emperor Houfei in power, instead plotted to depose him, but was discovered and executed. When Emperor Houfei subsequently received reports that the officials