In accordance with the Treaty of Versailles, the city of Danzig (now Gdańsk, Poland) was detached from Germany on 15 November 1920 and turned into a semi-autonomous city-state under the protection of the League of Nations.[3][4] The Treaty stated that it was to remain separate from both Germany and the newly independent Poland, but was not its own sovereign state.[5] After the Nazis invaded Poland in September 1939, the city's autonomous status was revoked and it was annexed by Germany.