In February 1918 the German Army advances on Pskov and Petrograd capturing Pytalovo until fall 1918, when the Red Army retakes it. In May 1919 г. advancing pro-czarist Russian North-Western Army of Gen. Nikolai Yudenich supported by Estonian and Latvian republican units recaptures westernmost part of the Pskov Governorate. The frontline as of noon the 1st of February 1920 was stipulated as the border demarcation line by the Latvian–Soviet Peace Treaty of 1920 between Latvian Republic and Russian Soviet Federative Socialist Republic.