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.
Republic of Genoa
The republic began when Genoa became a self-governing commune within the imperial Kingdom of Italy, and ended when it was conquered by the French First Republic under Napoleon and replaced with the Ligurian Republic. Corsica was ceded to France in the Treaty of Versailles of 1768. The Ligurian Republic was annexed by the First French Empire in 1805; its restoration was briefly proclaimed in 1814 following the defeat of Napoleon, but it was ultimately annexed by the Kingdom of Sardinia in 1815.