The theme of the opera is from old legend of the rescue of a Czech ruler (probably prince Jaromír of Bohemia of the Přemyslid dynasty, or his brother Oldřich of Bohemia) who gets lost in the woods of Křivoklát.