Jack o'lantern (n.)
also jack-o-lantern, 1660s, a local name for a will-o-the-wisp (Latin ignis fatuus), mainly attested in East Anglia but also in southwestern England. The extension to carved pumpkins is attested by 1834, American English.