Ephesus enters history in the mid-7th century BCE, when it was attacked by the Cimmerians. Unlike its neighbour, Magnesia, it survived the attacks. For part of the early 6th century the city was under tyrants. Though allied by marriage to the kings of Lydia, its people could not hold back the Lydian Croesus, who asserted a general suzerainty over the city.