The war involved Latvia (its provisional government supported by Estonia, Poland and the Western Allies—particularly the navy of United Kingdom) against the Russian SFSR and the Bolsheviks' short-lived Latvian Socialist Soviet Republic.
Germany and the Baltic nobility added another level of intrigue, initially being nominally allied to the Nationalist/Allied force but attempting to jockey for German domination of Latvia.
Following a cease-fire, a ploy was developed by the Germans, nominally dissolving into the West Russian Volunteer Army led by Gen. Pavel Bermont-Avalov.
By the end of January, the Latvian Provisional Government and remaining German units had retreated all the way to Liepāja, but then the Red offensive stalled along the Venta river.
During this period, on 15 January, occurred the battle of Lielauce, where the Latvian independent battalion, headed by Oskars Kalpaks managed to stop the Soviet offensive.
The German forces on whom the Latvian temporarily relied, however, had lost a battle at Auce, so an order was received to retreat to the river Venta.
On 18 February, an agreement was signed between Latvia and Estonia, starting formation of the North Latvian Brigade led by Jorģis Zemitāns on Estonian territory.
On 16 April, the Baltic nobility organised a coup d'etat in Liepāja and a puppet government headed by Andrievs Niedra was established.
[14] On 22 May, Riga was recaptured by the Iron Division and organised persecution of suspected Bolshevik supporters began, with an estimated 174 (according to the head of Rīga's Gendarmerie) to 4,000–5,000 people (according to local social democrats and communists) being shot.
The objective of the Landeswehr and Iron Division had now clearly become the establishment of German supremacy in the Baltic by eliminating the Estonian military and Latvian national units, not the defeat of the Bolsheviks.
By its terms the legitimate government of Ulmanis was to be restored, the Baltic German Landeswehr be placed under the command of the British officer Harold Alexander and the Iron Division to leave Latvia.
Jelgava was also captured by the Latvians in loss-making fights and by early December the entire West Russian Volunteer Army got pushed out of Latvia.