Parse this person name:

Néstor M. (Néstor María Pilar) Cózar, died 1778
user
first_name: Néstor
last_name: Cózar
middle_names:
- María Pilar
temporal:
- start: null
  end: 1778
  type: life_span
titles: []
extra_info: []
assistant