Andromeda is a princess from Greek mythology who, as divine punishment for her mother's bragging, the Boast of Cassiopeia, was chained to a rock as a sacrifice to a sea monster. She was saved from death by Perseus, her future husband. Her name is the Latinized form of the Greek Ἀνδρομέδη (Andromédē). The traditional etymology of the name is "she who has bravery in her mind" from ἀνήρ, ἀνδρός (anēr, andrós) "man" as in "soldier", and similarly ανδρεία ("bravery") combined with μήδομαι (mēdomai) "to think, to be mindful of." Alternatively it could mean "she who leads"
The subject has been popular in art since classical times, as well as the princess and dragon motif in general. From the Renaissance interest revived in the original story, typically as derived from Ovid's account.
In Greek mythology, Andromeda was the daughter of Cepheus and Cassiopeia, king and queen of the kingdom Ethiopia.
Her mother Cassiopeia boasted that she was more beautiful than the Nereids, the nymph-daughters of the sea god Nereus and often seen accompanying Poseidon. To punish the Queen for her arrogance, Poseidon, brother to Zeus and god of the sea, sent a sea monster named Cetus to ravage the coast of Ethiopia including the kingdom of the vain Queen. The desperate King consulted the Oracle of Apollo, who announced that no respite would be found until the king sacrificed his daughter Andromeda to the monster. She was chained naked to a rock on the coast.
Perseus was returning from having slain the Gorgon Medusa, he found Andromeda and slew Cetus by approaching invisible with Hades's helm and slaying him. He set her free, and married her in spite of Andromeda having been previously promised to her uncle Phineus. At the wedding a quarrel took place between the rivals, and Phineus was turned to stone by the sight of the Gorgon's head (Ovid, Metamorphoses v. 1).
Andromeda followed her husband to Tiryns in Argos, and together they became the ancestors of the family of the Perseidae through the line of their son Perses. Perseus and Andromeda had seven sons: Perseides, Perses, Alcaeus, Heleus, Mestor, Sthenelus, and Electryon, and two daughters, Autochthoe and Gorgophone. Their descendants ruled Mycenae from Electryon down to Eurystheus, after whom Atreus attained the kingdom, and would also include the great hero Heracles. According to this mythology, Perseus is the ancestor of the Persians.
After her death, Andromeda was placed by Athena amongst the constellations in the northern sky, near Perseus and Cassiopeia. The constellation had been named after her.