 On 6 September 1918 the Bolshevik militias consolidated under the supreme command of the Revolutionary Military Council of the Republic ().The first chairman was Leon Trotsky, and the first commander-in-chief was Jukums Vācietis from the Latvian Riflemen; in July 1919 he was replaced by Sergey Kamenev.Soon afterwards Trotsky established the GRU (military intelligence) to provide political and military intelligence to Red Army commanders.