After the British and French allied forces burned the Yuanmingyuan, they built fortifications and fortresses around the altar and made a gesture of attacking Beijing. Panicked, the Qing government immediately ordered to open the Anding Gate and let the British and French allied forces enter the city. As soon as the British and French allied forces entered the city, they immediately guarded the Andingmen heavily, put the cannon on the tower, and then played against Prince Gong who stayed in Beijing. Issue an ultimatum, claiming that if they don't accept all their conditions, they will burn all the palaces in Beijing like Yuanmingyuan. Russian minister ignatieff also came forward to help the British and French aggressors to force the Qing government to surrender. Hey? Under the intimidation of the British and French armies and the inducement of Russia, they accepted all the conditions put forward by the invaders and signed a more humiliating Beijing Treaty with Britain and France respectively.
The Beijing Treaty not only recognizes the full effect of the Tianjin Treaty, but also adds new clauses: opening Tianjin Port, the largest seaport in North China, as the gateway to Beijing; Cede Kowloon to Britain. After the British and French invaders gained benefits, the Second Opium War ended.