At the end of the 1971 film, Charlie Bucket wins the factory after proving his honesty by returning an Everlasting Gobstopper. Willy Wonka reveals the test and names Charlie his heir. They enter the Great Glass Elevator, which bursts through the roof and flies toward an unknown destination—possibly Wonka's private residence—leaving the other adults outside the gates.