Apollodorus, Bibliotheca 3.14.1 (2nd century AD):
Kekrops, a son of the soil, with a body compounded of man and serpent, was the first king of Attika (…) In his time, they say, the gods resolved to take possession of cities in which each of them should receive his own peculiar worship. So Poseidon was the first that came to Attika, and with a blow of his trident on the middle of the acropolis, he produced a sea which they now call Erekhtheis. After him came Athena, and, having called on Kekrops to witness her act of taking possession, she planted an olive tree, which is still shown in the Pandrosion. But when the two strove for possession of the country, Zeus parted them and appointed arbiters, not, as some have affirmed, Kekrops and Kranaus, nor yet Erysikhthon, but the twelve gods (Δωδεκάθεοι). And in accordance with their verdict the country was adjudged to Athena, because Kekrops bore witness that she had been the first to plant the olive. Athena, therefore, called the city Athens after herself, and Poseidon in hot anger flooded the Thriasian plain and laid Attika under the sea.
The salt water well of Poseidon in the Erechtheum was called a ‘sea’ (θάλασσα).