 He was the eldest son of a Piedmontese of good family, who served for ten years in the French army under Masséna and Napoleon.He had finished his education at the University of Parma, when the French Revolution of 1830 caused a ferment in Italy.He sympathized with the movement, and within a few months was successively a conspirator, a state prisoner, a combatant and a fugitive.