Parse this person name:

Pedro Sarmiento (1786-1852, flourished 1801-1831)
user
first_name: Pedro
last_name: Sarmiento
middle_names: []
temporal:
- start: 1786
  end: 1852
  type: life_span
- start: 1801
  end: 1831
  type: flourished
titles: []
extra_info: []
assistant