 In 1858, China sued for peace and agreed to the Treaty of Tientsin, which allowed the creation of French and English embassies in Beijing, and the Treaty of Aigun, which redrew Russia's border with China.In 1859, after China repudiated the Treaty of Tientsin, the war continued.A naval force under the command of Admiral Sir James Hope shelled the forts guarding the mouth of the Peiho river.