The Pied Piper legend originated in Hamelin, Germany during the middle ages. As the story goes, the town was struggling with a rat infestation problem and was desperate for relief. A mysterious man in “pied clothing” approached the mayor and promised he could rid the city of its problem in return for payment of 1000 guilders. They mayor agreed, and the man played a magical pipe to lure all the city’s rats to a nearby body of water, where they drowned. When the Piper returned for his reward, the mayor refused.