See Book 3 of Herodotus’s History.