During Perestroika, the reassessment era of Soviet history in USSR, in 1989 the USSR condemned the 1939 secret protocol between Nazi Germany and itself that had led to the invasion and occupation of the three Baltic countries. The collapse of the Soviet Union led to the restoration of the Republic of Estonia's sovereignty "(See History of Estonia: Regaining independence.)"