Parse this person name:

Lawrence Gray, 1768-1840, flourished 1798-1818
user
first_name: Lawrence
last_name: Gray
middle_names: []
temporal:
- start: 1768
  end: 1840
  type: life_span
- start: 1798
  end: 1818
  type: flourished
titles: []
extra_info: []
assistant