Crema, Lombardy
By the 1859 Treaty of Zurich which ended the Austro-Sardinian War, Austria ceded Lombardy, including Crema, to France, who then immediately ceded it to Sardinia. This formed part of the "Risorgimento", which saw Sardinia become the Kingdom of Italy in 1861. In 1946, the Kingdom became the modern Italian Republic.
History of Cagliari
In fact, only in 1324 did the Aragonese organized the invasion of Pisan Sardinia. With a large fleet coming from Barcelona and Valencia they landed in the south-west of the island and poceeded to besiege Cagliari. After a few months the Pisans capitulated and surrendered to the King of Aragon. At that time the Kingdom of Sardinia was born and Cagliari became its capital.