In his travels to Babylon, Thales studied the science and mathematics of astronomy, and gained local fame by bringing this knowledge to Greece. One of Thales' legendary accomplishments was to predict the solar eclipse of 585 B.C. Herodotus tells us that it occurred during a battle, stopped the fighting, and brought on a lasting peace.