In 1989, the Supreme Soviet of the USSR adopted a resolution on the ''Occupation of the Baltic states'', in which it declared the occupation "not in accordance with law", and not the "will of the Soviet people". Pro-independence Popular Front of Latvia candidates gained a two-thirds majority in the Supreme Council in the March 1990 democratic elections. On 4 May 1990, the Supreme Council adopted the Declaration on the Restoration of Independence of the Republic of Latvia, and the Latvian SSR was renamed Republic of Latvia.