Greek Dark Ages
When the office of "wanax" disappeared during the Greek Dark Ages, the link between Poseidon and the kingship was largely, although not entirely, forgotten. In classical Athens, Poseidon was remembered as both the opponent and doublet of Erechtheus, the first king of Athens. Erechtheus was given a hero-cult at his tomb under the title "Poseidon Erechtheus".