Pushkin wrote the play after seeing the premiere of a Russian-language version of Mozart's Don Giovanni. He borrowed certain elements from da Ponte's libretto, but made the story his own, focusing more on the tragic romantic elements than on the farcical ones.