 The Estonian underground government, not officially recognized by either Nazi Germany or the Soviet Union, fled to Stockholm, Sweden and operated in exile until 1992, when Heinrich Mark, the Prime Minister of the Republic of Estonia in duties of the President in exile, presented his credentials to the newly elected President of Estonia Lennart Meri.On February 23.1989 the flag of the Estonian SSR was lowered on Pikk Hermann, and was replaced with the flag of Estonia on February 24, 1989.