 Latvia had declared independence in 1918, but was unable to stop the advance of the Red Army, resulting in the loss of Riga.The advance of the Red Latvian Riflemen was stopped by the German VI Reserve Corps.The Reserve Corps under general Rüdiger von der Goltz consisted of the "Baltische Landeswehr", the Freikorps Iron Division, and the Guard Reserve Division.