After the Siege of the International Legations, the Qing government signed with Britain Regulations on Britain Returning the Imperial Railways of North China (《英国交还铁路章程》) and Regulations on Following the Returning of the Imperial Railways of North China (《关内外铁路交还以后章程》), which excluded any third country from building railways in areas within 80 miles in the north and south of the Shanhai Pass and between Fengtai and the Great Wall in the north. This caused objection of Russia and France, which made representations to the Qing government on the latter Regulations. Ultimately, it was agreed that no foreign capital shall be used to build railways in the north of Beijing, including the railway between Beijing and Zhangjiakou, and neither the railways, if built, nor the revenue made from the railways shall be transferred to foreign countries as collateral.