Complex sentence: It was evacuated by sea and returned to the main front in West Prussia in January 1945, and surrendered to the Soviets there at the end of the war.
Split into simpler sentences: It was evacuated by sea and returned to the main front in West Prussia in January 1945. It surrendered to the Soviets there at the end of the war.