King Erichthonius (also called Erechtheus I) was, according to some legends, autochthonous (born of the soil), and in other accounts he was the son of Hephaestus and Gaia or Athena or Atthis. According to Apollodorus, Hephaestus attempted to rape Athena but was unsuccesful. His semen fell on the ground, impregnating Gaia. Gaia didn't want the infant Erichthonius, so she gave the baby to Athena. Athena gave three sisters, Herse, Pandrosus and Aglaulus a small box and warned them to never open it. Aglaulus and Herse opened the box which contained the infant and future-king, Erichthonius ("troubles born from the earth"). The sight caused Herse and Aglaulus to go insane and they threw themselves off the Acropolis. Alternatively, Athena raised Erichthonius herself.
An alternative version of the same story is that, while Athena was gone bringing a mountain from Pallene to use in the Acropolis, the sisters, minus Pandrosus again, opened the box. A crow witnessed the opening and flew away to tell Athena, who fell into a rage and dropped the mountain (now Mt. Lykabettos). Once again, Herse and Aglaulus went insane and threw themselves to their deaths off a cliff.
Erichthonius later became King of Athens and implemented many beneficial changes to Athenian culture. During this time, Athena frequently protected him. He founded the Panathenaic Festival in the honor of Athena. He taught his people to yoke horses and use them to pull chariots, smelt silver and till the earth with a plough.
Afterwardes his sonne Deucalion, being marveilously offended with the ATHENIANS, sent to summone them to deliver Daedalus unto him, or els he woulde put the children to death, which were delivered to his father for hostages.
But Theseus excused him selfe, and sayed he coulde not forsake Daedalus, considering he was his neere kynseman, being germaine, for he was the sonne of Merope, the daughter of Erichtheus.
Howbeit by and by he caused nany vessels secretly to be made, parte of them within ATTICA selfe in the village of Thymetades, farre from any highe wayes: and parte of them in the cittie of TROEZEN, by the sufferance of Pitheus his grandfather, to the ende his Purpose shoulde be kept the secretlyer.