In May 1917 large parts of the Latvian regiments transferred their loyalty to the Bolsheviks. They became known as Red Latvian Riflemen (, ) and actively participated in the Russian Civil War. The Riflemen took an active part in the suppression of anti-Bolshevik uprisings in Moscow and Yaroslavl in 1918. They fought against Denikin, Yudenich, and Wrangel. After victory in Oryol-Kromy operation against Denikin in October 1919 division of Latvian Riflemen received the highest military recognition of that time: the Honorable Red Flag of VTsIK. Jukums Vācietis, formerly a colonel in the Latvian Rifles became the first commander-in-chief of the Red Army.