Who wrote the first book in history?

Herodotus wrote what was considered the first history book on and the book was based on the Persain Wars.