pedantry works best when correct.
"Ancient history is a time period from the beginning of writing and recorded human history through late antiquity."
Perhaps you are mixing up "ancient" and "prehistoric".