After the death of Alexander of Macedon, the rule in Ephesus was taken over by one of his generals, Lysimachus, who moved the city to a valley between the hills and built a new port and defensive walls.