Pyramids may be 2,500 BC or older.
Maybe 10,000 BC if they were designed for astrological purposes and only repurposed later as tombs
Whoever designed the Great Pyramid base perimeter to correlate to the equatorial circumference of the earth, and the height to correlate by the same formula to the polar circumference of the earth, knew a bit about geometry not to mention the dimensions of the earth