The city was bombed by the Allies from 1943 to 1944. The Yugoslav Partisan movement was represented in the city. In the period February–May 1945, Maks Luburić set up an Ustaše headquarters in a building known as Villa Luburić and used it as a torture and execution place whose 323 victims were identified after the war. The resistance was led by Vladimir Perić Valter, who died while leading the liberation of the city on 6 April 1945.