During World War II Cagliari was heavily bombed by the Allies in February 1943.
After the Italian armistice with the Allies in September 1943, the German Army took control of Cagliari and the island, but soon retreated peacefully in order to reinforce its positions in mainland Italy.