FAIRFIELD, CA - APRIL 2: Jelly beans sit in a bin waiting to be packaged on the assembly line at the Jelly Belly Factory April 2, 2007 in Fairfield, California. The Jelly Belly Factory produces approximately 14 billion jelly beans a year. With less than a week before Easter Sunday, retailers stock their shelves full of jelly beans, chocolates, and other traditional candies for Easter. (Photo by David Paul Morris/Getty Images)

The founder of Jelly Belly is launching a Willy Wonka-esque golden ticket treasure hunt before his retirement and the grand prize is a candy factory. The contest costs $50 to enter and each portion has a strict 1,000 person limit. One person will end up with a key to the candy factory but other winners will receive cash prizes upwards of $5,000.

Man who founded Jelly Belly name to give away candy factory as part of 'gold ticket' treasure hunt

FAIRFIELD, Calif. (KGO) -- Remember hidden cash? Well, now a different kind of treasure hunt could be the next big craze. This time the founder of the name Jelly Belly is launching a series of golden ticket treasure hunts across the country before his retirement. Think Willy Wonka -- with a twist.