<P> Willy Wonka & the Chocolate Factory is a 1971 American musical fantasy film directed by Mel Stuart, and starring Gene Wilder as Willy Wonka . It is an adaptation of the 1964 novel Charlie and the Chocolate Factory by Roald Dahl . Dahl was credited with writing the film's screenplay; however, David Seltzer, who went uncredited in the film, was brought in to re-work Dahl's screenplay against his wishes, making major changes to the ending and adding musical numbers . These changes and other decisions made by the director led Dahl to disown the film . </P> <P> The film tells the story of Charlie Bucket (Peter Ostrum) as he receives a Golden Ticket and visits Willy Wonka's chocolate factory with four other children from around the world . Filming took place in Munich in 1970, and the film was released by Paramount Pictures on June 30, 1971 . With a budget of just $3 million, the film received generally positive reviews and earned $4 million by the end of its original run . Paramount distributed the film until 1977, and beginning in the 1980s, Warner Bros. assumed control of the rights for home entertainment purposes . The film then made an additional $21 million during its re-release by Warner Bros. under its Family Entertainment banner in 1996 . The film became highly popular in part through repeated television airings and home entertainment sales . In 1972, the film received an Academy Award nomination for Best Original Score, and Wilder was nominated for a Golden Globe as Best Actor in a Musical or Comedy, but lost both to Fiddler on the Roof . The film also introduced the song "The Candy Man", which went on to become a popular hit when recorded by Sammy Davis Jr . In 2014, the film was selected for preservation in the United States National Film Registry by the Library of Congress as being "culturally, historically, or aesthetically significant". </P> <P> In an unnamed town, children visit a candy shop . Charlie Bucket, a poor paperboy, stares through the window as the shop owner sings "The Candy Man". Walking home, he passes Willy Wonka's chocolate factory . A mysterious tinker recites the first lines of William Allingham's poem "The Fairies", and tells Charlie, "Nobody ever goes in, and nobody ever comes out ." Charlie rushes home to his widowed mother and bedridden grandparents . After telling Grandpa Joe about the tinker, Joe reveals that Wonka locked the factory because other candy makers, including rival Arthur Slugworth, sent in spies to steal his recipes . Wonka disappeared, but after three years resumed selling candy; the origin of Wonka's labor force is unknown . </P> <P> The next day, Wonka announces that he hid five "Golden Tickets" in chocolate Wonka Bars . Finders of the tickets will receive a factory tour and a lifetime supply of chocolate . The first four tickets are found by the gluttonous Augustus Gloop, the spoiled Veruca Salt, the gum - chewing Violet Beauregarde, and the television - obsessed Mike Teavee . As each winner is announced on TV, a man whispers to them . Charlie opens two Wonka Bars but finds no Golden Ticket . The newspapers announce the fifth ticket was found by a millionaire in Paraguay causing Charlie to lose hope . The next day, Charlie finds money in a sewer and uses it to buy a Scrumdiddlyumptious bar . With the change, he buys another Wonka Bar for Joe . Walking home, as Charlie hears people reading the newspapers; revealing that the Paraguayan millionaire's ticket is a fake, he opens the Wonka Bar and finds the fifth golden ticket . While rushing home, he is confronted by the same man seen whispering to the other winners, who introduces himself as Slugworth and offers a reward for a sample of Wonka's latest creation, the Everlasting Gobstopper . </P>

Where is willy wonka and the chocolate factory based