In 585 B.C., a solar eclipse occurred in the middle of a battle between the Lydians and the Medes. They promptly ceased fighting and signed a peace treaty.