ury, during the Napoleonic wars, France tried to conquer Cagliari because of its strategic role in the Mediterranean sea. A French army landed on the Poetto beach and moved towards Cagliari, but the French were defeated by Sardinians who decided to defend themselves against the revolutionary army. People from Cagliari hoped to receive some concession from the Savoys in return for their defending the town: for example, aristocrats from Cagliari asked for a Sardinian representative in the parliament of the kingdom. When the Savoys refused any concession to the Sardinians, inhabitants of Cagliari rose up against the Savoys and expelled all representatives of the kingdom and people from Piedmont. This insurgence is celebrated in Cagliari during the "Die de sa Sardigna" (Sardinian Day) on the last weekend of April. However the Savoys regained control of the town after a brief period of autonomous rule.
Modern age
From the 1870s, with the unification of Italy, the city experienced a century of rapid growth. Many outstanding buildings were erected by the end of the 19th century during the office of Mayor Ottone Bacaredda. Many of these buildings combined influences from Art Nouveau together with the traditional Sardinian taste for flower decoration: an example is the white marble City Hall near the port. Ottone Bacaredda is also famous for the violent repression of one of the earlier worker strikes in the beginning of the 20th century.
During World War II Cagliari was heavily bombed by the Allies in February 1943. In order to escape from the bombardments and the misery of the destroyed town, many people left Cagliari and moved to the country or rural villages, often living with friends and relatives in overcrowded houses. This flight from the town is known as "sfollamento" (deserting).
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