 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.