Who was the pope who gave cardinals the right to wear the hats?
For a time this power was assigned exclusively to the cardinal bishops, but the Third Lateran Council in 1179 gave back the right to the whole body of cardinals.