Formulate an answer to this elaborate question: Alexey Dmitrievich Tereshkov fought in the Spanish Civil War and was commander of the 413th Rifle division after an invasion of what country during World War II?
Soviet Union