Shangdu, also known as Xanadu, was the capital of Kublai Khan's Yuan dynasty in China, before he decided to move his throne to the Jin dynasty capital of Zhongdu, which he renamed Dadu, present-day Beijing. Shangdu then became his summer capital. Shangdu (Xanadu) was visited by the Venetian traveller Marco Polo in about 1275, and in 1797 inspired the famous poem Kubla Khan by the English Romantic poet Samuel Taylor Coleridge.
Shangdu was located in Inner Mongolia, 350 kilometres north of Beijing, about 28 kilometres northwest of the modern town of Duolun. The layout of the capital is roughly square shaped with sides of about 2,200 m; it consists of an "outer city", and an "inner city" in the southeast of the capital which has also roughly a square layout with sides about 1,400 m, and the palace, where Kublai Khan stayed in summer. The palace has sides of roughly 550 m, covering an area of around 40% the size of the Forbidden City in Beijing. The most visible modern-day remnants are the earthen walls though there is also a ground-level, circular brick platform in the centre of the inner enclosure.
The city, originally named Kaiping, was designed by Chinese architect Liu Bingzhong from 1252 to 1256 and Liu implemented a "profoundly Chinese scheme for the city's architecture". In 1264 it was renamed Shangdu. At its zenith, over 100,000 people lived within its walls. In 1369 Shangdu was occupied by the Ming army and put to the torch. The last reigning Khan, Toghun Temur, fled the city, which was abandoned for several hundred years.
Today, only ruins remain, surrounded by a grassy mound that was once the city walls. Since 2002, a restoration effort has been undertaken. In June 2012, Shangdu was made a World Heritage Site.