premise: Greek mythology also has it that Andromeda, the beautiful daughter of the King of Jaffa, was chained to a rock at sea just outside the harbour, as a sacrifice to a sea monster (but she was rescued just in time by Perseus).
hypothesis: The sacrifice was meant to appease the monster, and prevent the town's destruction.