Pygmalion is a play by George Bernard Shaw, named after a Greek mythological figure. It was first presented on stage to the public in 1913.
In ancient Greek mythology, Pygmalion fell in love with one of his sculptures, which then came to life. The general idea of that myth was a popular subject for Victorian era English playwrights, including one of Shaw's influences, W. S. Gilbert, who wrote a successful play based on the story called Pygmalion and Galatea that was first presented in 1871. Shaw would also have been familiar with the burlesque version, Galatea, or Pygmalion Reversed. Shaw's play has been adapted numerous times, most notably as the musical My Fair Lady and its film version.
Shaw mentioned that the character of Professor Henry Higgins was inspired by several British professors of phonetics: Alexander Melville Bell, Alexander J. Ellis, Tito Pagliardini, but above all, the cantankerous Henry Sweet.