Following the First World War, the western part of Rhineland was occupied by Entente forces, then demilitarized under the 1919 Treaty of Versailles and then the 1925 Locarno Treaties. German forces remilitarized the territory in 1936, as part of a diplomatic test of will, three years before the outbreak of the Second World War.