How was Medusa slewed?

Medusa was SLAIN by Perseus, when she was asleep. He cut off the Gorgon's head.