Greek Dark Ages
Mythographers told that Neleus, a son of Codrus the last King of Athens, had come to Miletus after the "Return of the Heraclids" (so, during the Greek Dark Ages). The Ionians killed the men of Miletus and married their widows. This is the mythical commencement of the enduring alliance between Athens and Miletus, which played an important role in the subsequent Persian Wars.