During the Second Opium War, Anglo-French forces captured the outskirts of the city, looting and burning the Old Summer Palace in 1860. Under the Convention of Peking ending that war, Western powers for the first time secured the right to establish permanent diplomatic presences within the city. From 14 to 15 August 1900 the Battle of Peking was fought. This battle was part of the Boxer Rebellion.