What two monsters did Perseus have to kill?

Perseus killed the Gorgon Medusa and the sea monster that was about to devour the beautiful Andromeda.