The country of Moldova was formerly known as the Moldavian Soviet Socialist Republic. After the Declaration of Sovereignty on June 23, 1990, and until the Declaration of Independence on August 27, 1991, it was officially referred to as the Soviet Socialist Republic of Moldova, and since early 1991 as Republic of Moldova. The Moldavian SSR started out as part of the Ukrainian SSR as Moldavian ASSR (from 1924 until 1940).