Charlie and the Chocolate Factory is a 2005 musical adventure film directed by Tim Burton. It is the second film adaptation of the 1964 British book of the same name by Roald Dahl and stars Johnny Depp as Willy Wonka and Freddie Highmore as Charlie Bucket. The storyline concerns Charlie, who takes a tour he has won, led by Wonka, through the most magnificent chocolate factory in the world. Development for another adaptation of Charlie and the Chocolate Factory, filmed previously as Willy Wonka & the Chocolate Factory, began in 1991, 20 years after the first film version, which resulted in Warner Brothers providing the Dahl Estate with total artistic control. Prior to Burton's involvement, directors such as Gary Ross, Rob Minkoff, Martin Scorsese and Tom Shadyac had been involved, while Warner Bros. either considered or discussed the role of Willy Wonka with Nicolas Cage, Jim Carrey, Michael Keaton, Brad Pitt, Will Smith and Adam Sandler. Burton immediately brought regular collaborators Johnny Depp and Danny Elfman aboard. Charlie and the Chocolate Factory represents the first time since The Nightmare Before Christmas that Elfman contributed to the film score using written songs and his vocals.