 Between 1940 and 1945 Lithuania was occupied by both the Soviet Union and Nazi Germany at different times.When World War II was near its end in 1944 and the Nazis retreated, the Soviet Union reoccupied Lithuania.On 11 March 1990, Lithuania became the first Baltic republic to declare its restored independence after 50 years of Soviet occupation.