Hans Heiling is a German Romantic opera in 3 acts with prologue by Heinrich Marschner with a libretto by Eduard Devrient, who also sang the title role at the première which occurred at the Königliche Hofoper (now Berlin State Opera), Berlin on 24 May 1833, and went on to become his most successful opera. The opera brought the composer a considerable reputation, although this did not materially affect his position in Hanover, where he was music director of the Court Theatre. Like Marschner's other great success, Der Vampyr, the plot of Hans Heiling makes great use of supernatural elements. As with several of his operas, Hans Heiling is based on a folk legend.