Complex sentence: Francesco Melzi d'Eril and Napoleon campaigned for Malaspina's release and he was freed at the end of 1802 but exiled from Spain.
Split into simpler sentences: Francesco Melzi d'Eril and Napoleon campaigned for Malaspina's release. He was freed at the end of 1802 but exiled from Spain.