Giuseppe Garibaldi was the leader of the struggle for a united Italy. Garibaldi's dream of a united Italy motivated his successful expedition against the Austrian forces in the Alps in 1859. In 1860 he conquered Sicily and set up a provisional insular government.
Garibaldi then conquered Naples, which he then delivered to King Victor Emmanuel in 1861 and returned to his home on Caprera. With the annexation of Umbria and Marches from the papal government, a united Italy was finally established in 1861 with Victor Emmanuel as its king. The Italian kingdom was missing Rome, which was still a papal possession, and Venice, which was controlled by the Austrians.
Venice was added to Italy in 1866 after Prussia defeated Austria in the Seven Weeks' War, in which Italy sided with Prussia; Venice was its reward. Then, in 1870 during the Franco-Prussian War, Napoleon III withdrew his troops from Rome. With the city of Rome and the remaining Papal States left unprotected, Italian troops moved into Rome without opposition. Rome voted for union with Italy in October 1870 and, in July 1871, Rome became the capital of a united Italy.