Parse this person name:

Andrew Galloway (1232-1281, flourished 1249-1270)
user
first_name: Andrew
last_name: Galloway
middle_names: []
temporal:
- start: 1232
  end: 1281
  type: life_span
- start: 1249
  end: 1270
  type: flourished
titles: []
extra_info: []
assistant