From at least the 18th century, "imitating malignant spirits" led to playing pranks in Ireland and the Scottish Highlands. Wearing costumes and playing pranks at Halloween spread to England in the 20th century.