historiographer

noun
  1. a person who writes history, especially an official historian
  2. Usage: formal

Examples