But the Crimean war did one good thing. It gave Sardinia a chance to volunteer on the winning side and when peace was declared it gave Cavour the opportunity to lay claim to the gratitude of both England and France.
Having made use of the international situation to get Sardinia recognised as one of the more important powers of Europe, the clever Italian then provoked a war between Sardinia and Austria in June of the year 1859. He assured himself of the support of Napoleon in exchange for the provinces of Savoy and the city of Nice, which was really an Italian town. The Franco-Italian armies defeated the Austrians at Magenta and Solferino, and the former Austrian provinces and duchies were united into a single Italian kingdom. Florence became the capital of this new Italy until the year 1870 when the French recalled their troops from Home to defend France against the Germans. As soon as they were gone, the Italian troops entered the eternal city and the House of Sardinia took up its residence in the old Palace of the Quirinal which an ancient Pope had built on the ruins of the baths of the Emperor Constantine.