 In summer 588, he deposed Chen Yin and demoted him to the title of Prince of Wuxing, creating Chen Yuan crown prince instead.Chen Shubao then considered deposing Empress Shen as well and replacing her with Consort Zhang, but as rival Sui Dynasty captured the Chen capital Jiankang in 589, ending Chen and unifying China, that did not occur.Chen Shubao was taken to the Sui capital Chang'an and treated as an honored guest of Emperor Wen of Sui, and Chen Yin followed his father to Chang'an.