Have you heard the spooky legend behind the jack-o'-lantern?

Jack-o'-lanterns are a ubiquitous part of Halloween, but have you ever wondered where the tradition comes from?

The legend supposedly begins in Ireland with a cheapskate named "Stingy Jack."

As his name suggests, Jack was greedy — but he was also clever. And according to the legend, he tricked the devil more than once into promising not to claim his soul when he died.

It goes like this: The penny-pinching Jack went drinking with the devil but didn't want to pay for the drinks, so he convinced the devil to turn into a coin.

Instead of paying for the drinks, Jack pocketed the coin and kept it next to a cross, trapping the devil inside. Once the devil was freed, Jack made the lord of the underworld promise never to seek revenge and not to collect his soul when he died.

SEE MORE: Food Allergies Got You Down This Halloween? Find The Teal Pumpkin

Later on, Jack managed to trick the devil again, this time trapping him in a fruit tree. Again, he made the devil promise not to seek revenge.

But the devil had the last laugh. When Jack croaked, God wouldn't let him into heaven, and the devil — true to his word — wouldn't let Jack into hell.

Instead, Jack was forced to wander the Earth with a single piece of burning coal in a carved-out turnip — not a pumpkin — which he used as a lantern. And he's been wandering ever since.

That's the story at least. And it's why in the British Isles, people warded off evil spirits with jack-o'-lanterns, but they were originally carved out of turnips, like this one.

When waves of Irish immigrated to the Americas in the mid 1800s, they brought the story with them, but traded turnips for pumpkins, which were easier to carve.

There's also a more down-to-earth theory about the jack-o'-lantern's origins: They were used for nighttime pranks.

In 19th-century America, kids would carve creepy faces into pumpkins, put a candle in the body and use them to scare unsuspecting people at night.

And if you would rather decorate than carve, check out the 'Trumpkins' below:

Donald Trump Halloween decorations 'Trumpkin'
See Gallery
Donald Trump Halloween decorations 'Trumpkin'
Love these Trumpkins keep them coming @realdonaldtrump #Trumpkins
Award for best pumpkin 🎃 #trumpkin #creative #murica #usa #halloween #pumpkincarving #trumpkins
These #trumpkins are incredibly terrifying... @lrodradio
Jack O'Lantern or Jackass O'Lantern? Pretty cool celebrity pumpkin display spotted at the W Union Square. #trumpkin #trumpkins #halloween #pumpkins #trump #whotel #unionsquare #newyork #manhattan #nyc #election2016
It's Fall and you know what that means.... #trumpkins
we all did the scariest and most orange thing we could imagine (left to right: @cbfitzg, me, @keobie) . . . #trumpkins #china #halloween #spooky #imwithher
@babs331 #trumpkin #scarecrow #halloween #pumpkin #donaldtrump #draintheswamp #trumpkins
Yankee Ingenuity At It's Finest... So, my badass hombres, why buy an ordinary, everyday Pumpkin to carve into a Jack O' Lantern for this Halloween 2016, when you could buy an extraordinary & limited edition, Donald J. Trumpkin! Yup, That's right, in the spirit of the 2016 Presidential Election, as well as All Hallows' Eve, a 10th generation, Litchfield County Farmer & genuine country bumpkin, himself, one, Mr. R.U. Kiddinme, has combined the two back to back Fright Fest Events, of this season, into a one of kind cash crop, which will be sure to leave a lot of Trick O' Treaters, shaking uncontrollably with fright, in their Nasty Woman, Hillary Clinton Pantsuit Costumes, this Halloween! Lol!!! Unfortunately, The Trumpkin, only comes in one size, which is small minded & it is not good for human consumption, as it will surely leave you with a bad taste in your mouth, as well as, an upset stomach to boot, because it tends to become very spoiled, quite quickly! Additionally, I was warned that even cutting a Trumpkin open, was an extremely bad idea, as it is so full of crap, that it will stink your entire house up, for a whole four years! Hehehe... So if you are looking for a unique Halloween prop to put out, so that your blind ignorance will be on full display for all to see, then choosing a Donald J. Trumpkin, is the right choice for you! Also, please be warned my friends, that the Trumpkin, has a short shelf life & will promptly rot away, whilst crying foul, on the morning of November 9th, just like the misguided & entitled dreams, of Angry White Americans, everywhere! Hahaha!!! #election2016 #halloween2016🎃 #makedonalddrumpfagain #trumpisachump #trumpkins #trumpkinpickin #trumpkinpatch #satire #sarcasm #debacledemocracy
My work made a #trumpkin . Complete with fence. His campaign is worse than our show, but you should check us out, soundcloud link in our bio! #trump #drumpf #horror #horrorshow #horrorpodcast #URBANLEGEND #BRIDEOFCHUCKY #FinalDestination #LEPRECHAUN #nightmareonelmstreet #jawbreaker #iknowwhatyoudidlastsummer #cursed #buffythevampireslayer
Anyone celebrating Halloween this year???? You gotta make a TRUMPKIN 😂😂😂😂!!! #jokes #jokesfordays #tuesdayjokes #tuesdayfunday #trump #nevertrump #trumpkin #halloween #scary
Trumpkin. #trumpkin #losangeles #halloween #pumpkin #losfeliz

Read Full Story

Sign up for the Best Bites by AOL newsletter to get the most delicious recipes and hottest food trends delivered straight to your inbox every day.

Subscribe to our other newsletters

Emails may offer personalized content or ads. Learn more. You may unsubscribe any time.