The Lüneburg Manuscript (1440-50) references a piper leading 130 children out of Hamelin. The Grimm brothers based their Rattenfänger (rat-catcher) tale about a magical flute on an actual tragic event that occurred in 1284.