After the Russian Revolution of 1917, the city served as a location of the Transcaucasus interim government which established, in the spring of 1918, the short-lived independent Transcaucasian Federation with the capital in Tbilisi. It was here, in the former Caucasus Vice royal Palace, where the independence of three Transcaucasian nations – Georgia, Armenia and Azerbaijan – was declared on May 26 to 28 1918. After this, Tbilisi functioned as the capital of the Democratic Republic of Georgia until 25 February 1921. From 1918 to 1919 the city was also consecutively home to a German and British military headquarters.
Under the national government, Tbilisi turned into the first Caucasian University City after the Tbilisi State University was founded in 1918, a long-time dream of the Georgians banned by the Imperial Russian authorities for several decades. On 25 February 1921, the Bolshevist Russian 11th Red Army invaded Tbilisi after bitter fighting at the outskirts of the city and declared Soviet rule.