The Latvian Soviet Socialist Republic (Latvian SSR; ; , "Latviyskaya Sovetskaya Sotsialisticheskaya Respublika"), also known as Soviet Latvia or Latvia, was part of the Soviet Union, and existed from 1918 to 1920, and from 1940 to 1990.