A period of political unrest in Italy, during which the united kingdom of Italy emerged. Much of Italy had experienced liberal reforms and an end to feudal and ecclesiastical privilege during the Napoleonic Wars. The restoration of repressive regimes led to uprisings in Naples and Piedmont (1821), and in Bologna (1831), then part of the Papal States. Following the French July Revolution in 1830, Italian nationalists began to support Mazzini and the Young Italy movement. In this they were encouraged by the liberal Charles Albert, who succeeded to the throne of Sardinia, and became ruler of Piedmont in 1831. In 1847 Count Cavour started a newspaper, Il Risorgimento; this had a considerable influence on Charles Albert, who in 1848 tried to drive the Austrians out of Lombardy and Venetia. He was defeated at Custozza (1848) and Novara (1849) and abdicated. He was succeeded by his son Victor Emmanuel II. During the Revolutions of 1848 republicans held power briefly in Rome, Florence, Turin, and Venice and hoped to create a republic of Italy, but were also defeated. Under the guidance of Cavour, Prime Minister of Piedmont from 1852, the French emperor Napoleon III was encouraged to ally with Piedmont, in return for promises of Nice and a part of the Alpine region of Savoy, and Austria was defeated in the battles of Magenta and Solferino in 1859. Austria evacuated Lombardy and much of central Italy. Garibaldi liberated Sicily, marched north and almost reached Rome. Plebiscites were held and resulted in a vote to accept Victor Emanuel II as first King of Italy (1861).