Shanghai has a long history of international involvement after the British East India Company first explored it in 1832.
In 1845, an agreement was made between the British consul and the Chinese Taotai in Shanghai to set aside areas of residence for British merchants in accordance with the Treaty of Nanking (1842). The French and Americans quickly followed suit with each having their own independent municipalities and concessions around the old city of Shanghai. In 1863, the British and American settlements joined together to form the International Settlement where the Bund would later be built (Lockwood, 1934).
This video by History of China is a great summary about the International Settlements in Shanghai and Chinese opinion about them.
The first British Consulate in Shanghai, built in 1852 was destroyed by fire and a new building (pictured) was built to replace it (Pan, Qian and Xue, 1993)
Image source: Pan, Xian and Xue, 1993The French Consulate was on Jinling East Road but was unfortunately pulled down during World War II (Pan, Qian and Xue, 1993)
Image source: Pan, Qian and Xue, 1993References
Title Image: Postcard by Sanshengyouxin, 2016, available from 3SYX_studios@sina.com
Lockwood, W. W. (1934). "The International Settlement at Shanghai, 1924-34." The American Political Science Review 28(6): 1030-1046.
Pan, L., Qian, Z., & Xue, L. (1993). Shanghai : a century of change in photographs, 1843-1949 . Hong Kong: Hai Feng Pub.