It then fought on the Eastern Front in the Vienna offensive during the final months of the war before surrendering to the British in Carinthia in May 1945.