Following the bombing of Königsberg by the Allies in the Second World War in 1944, the castle completely burnt down. However, the thick walls were able to withstand both the aerial bombing and Soviet artillery, as well as urban fighting in April 1945, allowing the ruins of the castle to stay standing. The largely demolished Königsberg became part of the Soviet Union and was renamed Kaliningrad in 1946.