Jack-o'-lantern (n.) Look up Jack-o'-lantern at Dictionary.com
also jack-o-lantern, jack-a-lantern, jackolantern, 1660s, "night-watchman;" 1670s as a local name for a will-o-the-wisp (Latin ignis fatuus), mainly attested in East Anglia but also in southwestern England. Literally "Jack of (with) the lantern;" see Jack + lantern. The extension to carved pumpkin lanterns is attested by 1834 in American English.