As a compromise, in 1920, the Free City of Danzig was officially established, one year after the signing of the Treaty of Versailles on June 28, 1919.