On 10 January 1945, the 39th Guards Rifle Corps was transferred to Hungary. During Operation Spring Awakening, the division created defensive positions on the eastern bank of the Danube from Dunavecse to Ráckeve. On 23 March, the division captured Pápa, for which it was awarded the Order of the Red Banner. It was on the Austrian border by 1 April and captured Zillingdorf. The division attacked on the corps' right flank during the Vienna Offensive. After the capture of Vienna, the division fought in the Prague Offensive.