What was the 97th Rifle Division
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.
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.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
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.
----------------
Answer the following query.
What was the 97th Rifle Division

user
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.
assistant