One who studies and writes about history
That person is called a historian.
A person who writes and studies about history is called an historian