J. W. von Goethe, Der Rattenfänger.

This is a rather famous poem, set to music by Schubert and by Wolf and quite possibly others. The rat-catcher is of course the Pied Piper of Hamelin, but this poem, unlike Browning's, does not directly tell the story.