The Pied Piper is the main character in a German tale about a man hired by the citizens of a town to get rid of rats. The man dressed in multicolored ā or 'pied' ā clothing and played a magic pipe to lure the rats to a river outside the town where they were drowned.