Following the Soviet invasion of Poland, the administrative center of the oblast was moved from the city of Kamianets-Podilskyi to the city of Khmelnytskyi. Kamianets-Podilskyi was occupied by the German troops on 11 July 1941 in the course of Operation Barbarossa. German, Ukrainian, and Hungarian police massacred 23,000 Jews 27–28 August 1941. On 27 March 1944 the town was freed from German occupation by the Red Army in the battle of the Kamenets-Podolsky pocket. Kamianets remained in the Soviet Ukraine until the Dissolution of the Soviet Union.