Codrus, in Athenian legend, son of Melanthus, descendant of Neleus, and a member of the Messenian royal family. When the Dorians captured Messenia, Codrus came to Athens; there he became king at the time when the Dorians conquered the Peloponnese. When they invaded Attica (roughly in the eleventh century BC; see DORIAN INVASION) they were told by an oracle that they would be victorious if they spared the king. Codrus, hearing this, entered the Dorian camp in disguise, provoked a quarrel, and was killed; the Dorians then withdrew. One tradition said that because no one was thought worthy to succeed such a king, the kingly office was thereafter abolished, and archons appointed instead. The first archonship was held by Codrus' son Medon, from whom Solon and Peisistratus claimed descent. Another tradition made a later descendant the first archon.





