The unification of Italy — the Risorgimento — was the process of 1861-1870 by which the divided states of Italy merged into a single kingdom. After the Congress of Vienna Italy had been parceled among the Kingdom of Sardinia, Lombardy-Venetia ruled directly by the Austrian Empire, the papal lands and the Two Sicilies, with expulsion of the foreigner and unity the Risorgimento's aim. The Sardinian prime minister Cavour built strength and alliances: in 1859 the war with Austria alongside France won Lombardy; in 1860 Garibaldi led his Thousand across the sea, overthrew the Two Sicilies' dynasty, and his conquests joined Sardinia by plebiscite. In 1861 the Kingdom of Italy was proclaimed, with the Sardinian king Victor Emmanuel II on the throne. In 1866 Italy took the Prussian side in the Austro-Prussian War and gained Venice; in 1870, as the Franco-Prussian War pulled the French garrison away, Italy marched on Rome and made it the capital the next year, most of the Papal States absorbed. Unification made the peninsula a single modern state — but the north-south economic gulf was deep, and the quarrel with the papacy ran on for decades.