Following the joint Nazi-Soviet invasion of Poland, on September 19,1939 the town was seized by the Soviet Union and soon afterwards attached to Ukrainian SSR.
Following the joint Nazi-Soviet invasion of Poland, the Germans occupied the town and murdered the local Jews. After the war, the town was seized by the Soviet Union and soon afterwards attached to Ukrainian SSR.