Pygmalion (1913) is a play by George Bernard Shaw based on Ovid's tale of Pygmalion. It tells the story of Henry Higgins, a professor of phonetics (based on phonetician Henry Sweet), who makes a bet with his friend Colonel Pickering that he can turn a Cockney flower girl, Eliza Doolittle, into a refined society lady merely by teaching her how to speak with an upper class accent and training her in etiquette. In the process, Higgins and Doolittle grow close, but she ultimately rejects his domineering ways and declares she will marry Freddy Eynsford-Hill, poor but a young gentleman.