According to the German legend, the Pied Piper was hired to rid Hamelin of a rat infestation using his magical flute. When the town refused to pay him, he used the same flute to lure away their children as revenge. This dark fairy tale has been interpreted as a warning about keeping promises.