A solar eclipse during the Battle of Halys led to a truce between the kingdoms of Media and Lydia, making it the earliest historical event that can be precisely dated.