The town saw clashes between Georgian People's Guard and pro-Bolshevik Ossetian peasants during the 1918–20 period, when Georgia gained brief independence from Russia. Soviet rule was established by the invading Red Army in March 1921, and a year later, in 1922, Tskhinvali was made a capital of the South Ossetian Autonomous Oblast within the Georgian SSR. Subsequently, the town became largely Ossetian due to intense urbanisation and Soviet Korenizatsiya ("nativization") policy which induced an inflow of the Ossetians from the nearby rural areas into Tskhinvali. It was essentially an industrial centre, with lumber mills and manufacturing plants, and had also several cultural and educational institutions such as a venerated Pedagogical Institute (currently Tskhinvali State University) and a drama theatre. According to the last Soviet census (in 1989), Tskhinvali had a population of 42,934, and according to the census of Republic of South Ossetia in 2015, the population was 30,432 people.