Prior to Yuchi's rebellion, Yang Jian, apprehensive that Emperor Jing's granduncles Yuwen Zhao () the Prince of Zhao, Yuwen Chun () the Prince of Chen, Yuwen Sheng () the Prince of Yue, Yuwen Da () the Prince of Dai, and Yuwen You () the Prince of Teng, whom Emperor Xuan had sent to their fiefs, would resist him, summoned them to the capital Chang'an. Soon, believing that the princes would act against him, he first executed Yuwen Xian () the Prince of Bi (Emperor Xuan's cousin). When Yuwen Zhao did subsequently carry out an attempted assassination of Yang, Yang had Yuwen Zhao and Yuwen Sheng as well as their households put to death. Following Yuchi's defeat, Yang continued to execute the princes in earnest. Around the new year 581, he had Emperor Jing create him the Prince of Sui and bestow the nine bestowments on him. Two months later, he had Emperor Jing yield the throne to him, ending Northern Zhou and establishing Sui Dynasty, with Yang taking the throne as its Emperor Wen.