Armenia became independent from the Russian Empire on 28 May 1918 as the "Republic of Armenia", later referred as First Republic of Armenia. About a month before its independence Armenia was part of short lived Transcaucasian Democratic Federative Republic. Suffering heavy losses during the Turkish invasion of Armenia and after the Soviet invasion of Armenia, the government of the First Republic resigned on 2 December 1920. Soviet Russia reinstalled its control over the country, which later became part of the Transcaucasian SFSR. The TSFSR was dissolved in 1936 and Armenia became a constituent republic of the Soviet Union known as the Armenian SSR, later also referred as the "Second Republic of Armenia".