Parse this person name:

Dr. Agustín Pérez, Cuenca, 1367-1399
user
first_name: Agustín
last_name: Pérez
middle_names: []
temporal:
- start: 1367
  end: 1399
  type: life_span
titles:
- Dr.
extra_info:
- Cuenca
assistant