Know how to use "fewer" and "less"? Find out.
late 14c., as if it were the past participle of a verb form of Middle English noun pie "magpie" (see pie (n.2)), in reference to the bird's black and white plumage. Earliest use is in reference to the pyed freres, an order of friars who wore black and white. Also in pied piper (1845, in Browning's poem based on the German legend; used allusively by 1939).