 The town was founded in early 1920s when, as a result of the Treaty of Versailles, the railroad hub in nearby Zbąszyń ("Bentschen") became part of the Second Polish Republic.In 1922, the government of Weimar Germany decided to build a new border station, a new rail hub (which replaced Zbaszyn) as well as a settlement for railroad workers.Within a few years in 1923-30, a large station was constructed, together with a modern suburban type settlement, based on a project by architect Friedrich Veil.