In January 1945, 52nd was transferred to 4th Guards Army, and later that same month to 46th Army, which was shifted to 2nd Ukrainian Front in March. In April the division was given part of the credit for the capture of Vienna and got that city's name as an honorific. On 1 May 1945 the division was with 18th Guards Rifle Corps, 53rd Army, in 2nd Ukrainian Front, alongside 109th Guards Rifle Division and 317th Rifle Division. It ended the war with Germany fighting near Prague.