Sui Yangdi
In 589, Sui forces captured Chen's capital, Jiankang (modern Nanjing, Jiangsu), and captured him, ending Chen's rule and unifying China after nearly three centuries of division that had started with the conquests of Emperor Hui of Jin. He was taken to the Sui's capital Chang'an, where he was treated kindly by Emperor Wen of Sui and his Emperor Yang of Sui successor until his death in 604, during the reign of Emperor Wen's son, Emperor Yang.