On 5 May 1945, two days before Germany capitulated, an uprising against Germany occurred. Four days later, the 3rd Shock Army of the Red Army liberated the city.