Andromeda had been chained to a rock by her father to assuage the wrath of Poseidon who had sent a sea monster to ravage the country. Here she was found by Perseus who slew the monster and effected her rescue. See Josephus B. J. iii. ix. 3.