During World War II, Lithuania was occupied by the Soviet Union (1940–1941), Nazi Germany (1941–1944), and the Soviet Union again in 1944. Resistance during this period took many forms. Significant parts of the resistance were formed by Polish and Soviet forces, some of which fought with Lithuanian collaborators.