the same year, while the main imperial palace () was built from 1274 onwards. The design of Khanbaliq followed several rules laid down in the Confucian classic The Rites of Zhou, including "9 vertical and horizontal axes", "palaces in front, markets in back", "ancestral worship to the left, divine worship to the right". It was broad in scale, strict in planning and execution, and complete in equipment. A year after the 1271 establishment of the Yuan dynasty, Kublai Khan proclaimed the city his capital under the name Dadu although construction was not fully completed until 1293. His previous seat at Shangdu became the summer capital. As part of the Great Khans' policy of religious tolerance, Khanbaliq had various houses of worship. It even was the seat of a Roman Catholic Archdiocese of Khanbaliq from 1307 until its 1357 suppression. It was restored in 1609 as (then) Diocese of Peking. The Hongwu Emperor of the Ming dynasty sent an army to Dadu in 1368. The last Yuan emperor fled north to Xanadu while the Ming razed the palaces of their capital to the ground. The former capital was renamed Beiping (北平 "Pacified North") and Shuntian Prefecture was established in the area around the city. The Hongwu Emperor was succeeded by his young grandson the Jianwen Emperor. His attempts to rein in the fiefs of his powerful uncles provoked the Jingnan Rebellion and ultimately his usurpation by his uncle, the Prince of Yan. Yan's powerbase lay in Shuntian and he quickly resolved to move his capital north from Yingtian (Nanjing) to the ruins at Beiping. He shortened the northern boundaries of the city and added a new and separately walled southern district. Upon the southern extension of the Taiye Lake (the present Nanhai), the raising of Wansui Hill over Yuan ruins, and the completion of the Forbidden City to its south, he declared the city his northern capital Beijing. With one brief interruption, it has borne the name ever since. Legacy Ruins of the Yuan-era walls of Khanbaliq are still extant and are known as the Tucheng (), lit. "earth wall". Tucheng Park preserves part of the old northern walls, along with some modern statues. Despite the capture and renaming of the city by the Ming, the name Daidu remained in use among the Mongols of the Mongolia-based Northern Yuan dynasty. The lament of the last Yuan emperor, Toghon Temür, concerning the