The ruins of Luoyang City during the Sui and Tang Dynasties are located in the suburbs of Luoyang City. Construction began during the reign of Emperor Yang of Sui, and its layout was modeled after the Sui Dynasty's Daxing City. At that time, it was known as the Eastern Capital or Tokyo. It served through the Sui, Tang, Five Dynasties, and Northern Song Dynasties, lasting for over 500 years, acting as the Eastern Capital of the Sui and Tang Dynasties and the Western Capital of the Northern Song Dynasty. During the reign of Emperor Yang of Sui, the palace city, imperial city, and outer city were built successively. Five wards were established south of the outer city, and three more were opened to the northeast. In the second year of the Qianfeng era of Emperor Gaozong of Tang (667 AD), the Yang Palace was built southwest of the imperial city.