During the invasion of Poland in 1939, the Radziwiłł family was expelled from the castle by the Red Army. In Soviet times, the castle was used a sanatorium, while the park gradually fell into neglect.