The Declaration "On the Restoration of Independence of the Republic of Latvia" (Latvian: Deklarācija Par Latvijas Republikas neatkarības atjaunošanu) was adopted on 4 May 1990, by the Supreme Soviet of the Latvian SSR. The Declaration stated that, although Latvia had de facto lost its independence in 1940, when it was annexed by the Soviet Union, the country had de jure remained a sovereign country as the annexation had been unconstitutional and against the will of the people of Latvia. Therefore it resolved that the Molotov–Ribbentrop Pact and the Soviet occupation of Latvia in 1940 were illegal, and annulled the declaration on the accession of Latvia to the Soviet Union of 21 July 1940, re-instituted the Constitution of Latvia of 1922, which was thereupon partly suspended, and set a period of transition to de facto independence, which would end upon the first session of Saeima. It also ruled that during the transitional period the Constitution of the Latvian SSR and other laws would remain applicable as long as they did not contradict articles 1, 2, 3 and 6 of the Constitution of Latvia, which were reinforced by the declaration. It was provided that a committee to elaborate a new edition of the Constitution of Latvia should be created. Social, economic, cultural and political rights were granted to citizens and residents of Latvia in accordance with international human rights. The declaration also stated that Latvia would form its relationship with the Soviet Union on the basis of the Latvian–Soviet Peace Treaty of 1920, in which the Soviet Union had recognized the independence of Latvia as inviolable "for all future time". The 4th of May is a national holiday in Latvia.