Tradition says that the city was founded by Androclus, the son of the Athenian king Kodros.

An excerpt from the article 30 facts about Epheseus

According to the prophecy that Androclus received from the oracle before his expedition to Ionia, he should find a city in the place indicated by the fish and the boar. Near the mouth of the Kaystron River, on the hill of Pion, Androclus encountered fishermen roasting fish over a fire. One of the fish suddenly jumped and fell into the fire, which caused the scattering sparks to ignite the nearby bushes. A boar that had been hiding there jumped out of the burning bushes and the fire scared it away. Androclus already knew that for the prophecy to come true, he should find his city in this place.