Finland was the first republic that declared its independence from Russia in December 1917 and established itself in the ensuing Finnish Civil War from January–May 1918. The Second Polish Republic, Lithuania, Latvia and Estonia formed their own armies immediately after the abolition of the Brest-Litovsk Treaty and the start of the Soviet westward offensive in November 1918.