Emperor Yang of Sui, personal name Yang Guang (569-618), second son of Emperor Wen of Sui, commanded as marshal in the conquest of Chen in 589, ousted his elder brother as heir in 600, and took the throne in 604 with the era name Daye ('Grand Achievement'). His works were as magnificent as his extravagance: from 605 he cut the Tongji and Yongji canals, the Han Gou and the Jiangnan River, giving shape to the north-south Grand Canal, and built the eastern capital Luoyang — corvée levies in the millions; he created the jinshi degree, fixing the framework of examination recruitment; he pressed into the Western Regions and sent envoys to Liuqiu (Taiwan), a blaze of arms and letters. But the levies of Daye were equally without precedent: three campaigns against Goguryeo (612-614) mobilized millions of soldiers and laborers and all returned without victory, and revolts flared everywhere. The emperor withdrew to Jiangdu to hide from the storm; in 617 Li Yuan rose and took Chang'an, and in 618 the escort troops, longing for home, mutinied under Yuwen Huaji at Jiangdu and strangled him — the Sui fell after two reigns. Tang writers said his crimes 'exhausted the bamboo of the records'; yet the canal, the examinations and the eastern capital were directly taken over by the fullness of the Tang, making Emperor Yang the classic case of the ruler whose achievement endures a thousand autumns while his crimes belong to his own day.