The correct answer is Don Giovanni, the opera composed by Mozart, which premiered in Prague in 1787.
The opera tells the tale of Don Giovanni, a famous seducer, who lived his life as an amoral womanizer, and in the end, met his doom. During the opera, Giovanni killed the Commendatore, and in the end, his ghost came for him to punish him for his awful life - "Such is the end of the evildoer: the death of a sinner always reflects his life."