What is the meaning of Pygmalion?

In mythology, Pygmalion was a king of Cyprus who carved and then fell in love with a statue of a woman, which Aphrodite brought to life as Galatea.

Pygmalion is also the name of a play by George Bernard Shaw (his play was named after the mythological story). The movie "My Fair Lady" was based on his play.