### Instruction: What was the 97th Rifle Division
### Input: The 97th Rifle Division was thrice formed as an infantry division of the Red Army, first as part of the prewar buildup of forces. The first formation was based on the pre-September 1939 shtat (table of organization and equipment) and the division was initially intended to serve in the fortifications along the border with Poland in western Ukraine. Beginning on September 17, 1939 it took part in the invasion of eastern Poland and then was moved north to join the 7th Army and later the 13th Army on the Karelian Isthmus during the Winter War against Finland where it saw action in the latter part of the struggle. Following this it returned to western Ukraine where it was on the border at the time of the German invasion in June 1941. At considerable cost it was able to retreat back to the Dniepr River south of Kiev during July and was still there as part of 26th Army when the Soviet forces in eastern Ukraine were largely surrounded and wiped out in September. The division was finally disbanded in late December.
### Response: The 97th Rifle Division was thrice formed as an infantry division of the Red Army, first as part of the prewar buildup of forces. The first formation was based on the pre-September 1939 shtat (table of organization and equipment) and the division was initially intended to serve in the fortifications along the border with Poland in western Ukraine. 

Beginning on September 17, 1939 it took part in the invasion of eastern Poland and then was moved north to join the 7th Army and later the 13th Army on the Karelian Isthmus during the Winter War against Finland where it saw action in the latter part of the struggle.