Early in World War II, the German and Soviet Armies collaborated to pacify Poland. In September 1939, this river valley was a front in the Battle of Wizna with Burzyn located at the northern end of the German attack. The area was transferred to the Soviet Union at the end of September in accordance with the German–Soviet Boundary Treaty and remained in Soviet hands until Operation Barbarossa in July 1941.