In 585 BC 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.