After the joint German-Soviet invasion of Poland, which started World War II, the village was occupied by the Soviet Union from 1939 to 1941, and then by Nazi Germany from 1941 to 1944.