Historically, the capirote was a cardboard cone that flagellants in Spain would use. It was also used during capital punishment in Spain, and also during an Inquisition, where the condemned person would be forced to wear one and be put under public humiliation. From the order of Nazareth It is also the uniform of some brotherhoods including the Nazarenos and "Phariseos" (see Holy Week in Seville). during Easter observances and reenactments in some areas of Spain.
"Witchcraft was not made a capital offence in Britain until 1563 although it was deemed heresy and was denounced as such by Pope Innocent VIII in 1484. From 1484 until around 1750 some 200,000 witches were tortured, burnt or hanged in Western Europe."