The German population was expelled in accordance with the Potsdam Agreement and replaced with mostly Russian settlers, with the Soviet portion of the former province of East Prussia being organized into Kaliningrad Oblast. In 1946 the name was changed to its current name Zheleznodorozhny. After the collapse of the Soviet Union in 1991, Zheleznodorozhny became a part of the Russian Federation.
As a result of the Potsdam Agreement, the German population was forcibly relocated and replaced with Russian settlers, reorganizing the former East Prussian region into Kaliningrad Oblast. In 1946, the name was changed to its current form, Zheleznodorozhny. Following the Soviet Union's collapse in 1991, Zheleznodorozhny became a part of the Russian Federation.