Following the Soviet invasion of Poland in September 1939, the university was briefly administered by the Lithuanian authorities (from October 1939), and then after Soviet annexation of Lithuania (June 1940), punctuated by a period of German occupation after German invasion of the Soviet Union (1941–1944), administrated as Vilnius State University by the Lithuanian Soviet Socialist Republic.