At the Battle of Solferino (Second Italian War of Independence) in 1859, the House of Savoy's Piedmont-Sardinia sided with the French Emperor Napoleon III against the Austrian Empire. Following Austria's defeat, Lombardy was ceded to France, who transferred Lombardy to Piedmont-Sardinia in return for Nice and Savoy.