After World War I and the resolutions of the 1919 Treaty of Versailles, the Province of Brandenburg shifted to the eastern edge of the German Weimar Republic, sharing a 35 kilometers long common border with the Second Polish Republic.