Parse this person name:

Alexei Wirth-Ernst (1259-1335, flourished 1278-1296)
user
first_name: Alexei
last_name: Wirth-Ernst
middle_names: []
temporal:
- start: 1259
  end: 1335
  type: life_span
- start: 1278
  end: 1296
  type: flourished
titles: []
extra_info: []
assistant