Parse this person name:

Principessa Emilio Gagliano, San Cassiano Valchiavenna, 1845-1875
user
first_name: Emilio
last_name: Gagliano
middle_names: []
temporal:
- start: 1845
  end: 1875
  type: life_span
titles:
- Principessa
extra_info:
- San Cassiano Valchiavenna
assistant