In 1940-1941, as part of the construction of the Molotov Line along the new border, the Soviets constructed a line of bunkers along the river to defend the river crossings, some of them right in the town.