In 1941, Germany invaded the Soviet Union in Operation Barbarossa, and shortly thereafter the territory became the site of the Battle of Leningrad. The Wehrmacht captured the southwestern part of the oblast and reached Tikhvin in the east, while Finnish troops quickly recaptured the ceded territories in the Continuation War, encircling Leningrad from the land. In 1944 Soviet offensives managed to expel the Wehrmacht and put military pressure on Finland, which ceded the Karelian Isthmus again in the Moscow Armistice of September 19, 1944. This time the newly-acquired territories on the isthmus was incorporated into the Leningrad Oblast (Vyborgsky and Priozersky Districts). In 1947 the territorial gains were confirmed with the Paris Peace Treaty. Novgorod and Pskov Oblasts were formed out of the southern parts of Leningrad Oblast in 1944. In January 1945 a small part of the Estonian SSR to the east of the River Narva with the town of Jaanilinn (now Ivangorod) was transferred to the Russian SFSR and incorporated into Leningrad Oblast. Since then, the territory of Leningrad Oblast has not changed significantly, although some suburbs of Leningrad (now Saint Petersburg) have been excluded from the oblast and incorporated into the city. In October 1946 Leningrad gained from the oblast some former Finnish territories along the northern coast of the Gulf of Finland divided into Sestroretsky District and Kurortny District, including the town of Terijoki.