Respuesta :
I think they supported France in order to expel Austria from Northern Italy
After the Events of the Congress of Vienna in 1814, which granted control of the cities of Venice and Milan to the Kingdom of Lombardy-Venetia, there was a growing sense of Italian Nationalism among these territories. This would ultimately lead to the Wars of Italian Independence between 1848 and 1866 which resulted in Italian Victory.
However, tensions continued as Austrian rule remained over certain Italian inhabited territories. In light of the conflict between Austria and France, Italy decided to side with France, as relations between the two countries improved.