The Temple of Heaven, literally the Altar of Heaven is a complex of Taoist buildings situated in the southeastern part of central Beijing. The complex was visited by the Emperors of the Ming and Qing dynasties for annual ceremonies of prayer to Heaven for good harvest. It is regarded as a Taoist temple, although Chinese Heaven worship, especially by the reigning monarch of the day, pre-dates Taoism.
The temple was occupied by the Anglo-French Alliance during the Second Opium War. In 1900, during the Boxer Rebellion, the Eight Nation Alliance occupied the temple complex and turned it into the force's temporary command in Beijing, which lasted for one year. The occupation desecrated the temple and resulted in serious damage to the building complex and the Garden. Robberies of temple artifacts by the Alliance were also reported. With the downfall of the Qing, the temple complex was left unmanaged. The neglect of the temple complex led to the collapse of several halls in the following years.