The star's origins as a symbol of communist mass movements dates from the time of the Bolshevik Revolution and the Russian Civil War, but the precise first use remains unknown. On the other hand one account of the symbol's origin traces its roots to the Moscow troop garrison toward the end of World War I. At this time, many troops were fleeing from the Austrian and German fronts, joining the local Moscow garrison upon their arrival in the city. To distinguish the Moscow troops from the influx of retreating front-liners, officers gave out tin stars to the Moscow garrison soldiers to wear on their hats. When those troops joined the Red Army and the Bolsheviks they painted their tin stars red, the color of socialism, thus creating the original red star.