The Old Summer Palace, known in Chinese as Yuanming Yuan (圆明园 “Gardens of Perfect Brightness”), and originally called the Imperial Gardens (御园), was a complex of palaces and gardens in present-day Haidian District, Beijing, China. It is located 8 kilometres (5.0 mi) northwest of the walls of the former Imperial City section of Beijing. Constructed in the 18th and early 19th centuries, the Old Summer Palace where the Qianlong Emperor of the Qing dynasty and his successors resided and handled state affairs; the Forbidden City was used for formal ceremonies. The Old Summer Palace was known for its extensive collection of garden and building architecture and other works of art. It was also called the “Garden of Gardens” (万园之园) in its heyday.