Complex sentence: Elements of the battalion were evacuated from Courland and transferred to the Western Front, where they subsequently surrendered to the Western Allies.
Split into simpler sentences: Elements of the battalion were evacuated from Courland. They were transferred to the Western Front and subsequently surrendered to the Western Allies.