Molotov–Ribbentrop Pact
In September 1939 the Soviets took over the town, in accordance with the Molotov–Ribbentrop Pact.