In February 1921, during the Russian Civil War, the Red Army advanced into Georgia and brought the local Bolsheviks to power. The Georgian army was defeated and the Social Democratic government fled the country. On 25 February 1921, the Red Army entered Tbilisi and established a government of workers' and peasants' soviets with Filipp Makharadze as acting head of state. Georgia was incorporated into the Transcaucasian Socialist Federative Soviet Republic, alongside Armenia and Azerbaijan, in 1921 which in 1922 would become a founding member of the Soviet Union.  Soviet rule was firmly established only after the insurrection was swiftly defeated. Georgia would remain an unindustrialized periphery of the USSR until the first five-year plan when it became a major centre for textile goods. Later, in 1936, the TSFSR was dissolved and Georgia emerged as a union republic: the Georgian Soviet Socialist Republic.