Complex sentence: He was 12 years when he moved from Cagliari to Turin, where he studied at Military Academy together with the future Prime Minister of Italy, Camillo Cavour.
Split into simpler sentences: He was 12 years old when he moved from Cagliari to Turin, where he studied at The city's military academy. Among his fellow students was the future Prime Minister of Italy, Camillo Cavour.