The Shanghai Defence Force was a tri-service military formation established by the British Government to protect European nationals and their property in Shanghai from Chinese nationalist forces during a period of tension in 1927.