Ji
蓟
Ji was a walled city in what is now southwestern Beijing and served as the Tang seat of Youzhou. In 938, the Khitan Liao dynasty made the city its southern capital, Nanjing. The Jin dynasty later made it its central capital, Zhongdu. After the Mongols captured and razed the old city, they built Dadu nearby as the capital of the Yuan dynasty.