The early Athenian tradition, followed by the 3rd century BC Parian Chronicle, made Cecrops, a mythical half-man half-serpent, the first king of Athens. The dates for the following kings were conjectured centuries later, by historians of the Hellenistic era who tried to backdate events by cross-referencing earlier sources such as the Parian Chronicle. Tradition says that King Menestheus took part in the Trojan War.
After Codrus's death, his sons Medon and Acastus either reigned as kings, or became hereditary archons. In 753 BC the hereditary archonship was replaced by a non-hereditary system (see Archons of Athens).
^King of Agea, not Athens; The name of Ogyges is also connected with Attic mythology, for in Attica too an Ogygian flood is mentioned, and he is described as the father of the Attic hero Eleusis (Pausanias, 1.38.7)
^A Dictionary of Greek and Roman Biography and Mythology: Oarses-Zygia. Edited by William Smith. Pg 20