Parse this person name:

James Perry-Hughes (1796-1866), 1796-1866
user
first_name: James
last_name: Perry-Hughes
middle_names: []
temporal:
- start: 1796
  end: 1866
  type: life_span
titles: []
extra_info: []
assistant