Parse this person name:

Charles D. (Charles Daniel) Mcmahon, 1339-1397
user
first_name: Charles
last_name: Mcmahon
middle_names:
- Daniel
temporal:
- start: 1339
  end: 1397
  type: life_span
titles: []
extra_info: []
assistant