IIRC history started with the invention of written word, somewhere around 6000 years ago
https://en.wikipedia.org/wiki/Recorded_history
Cave art existed for at least 40000 years
https://www.thearchaeologist.org/blog/ten-oldest-known-cave-paintings-in-the-world