Johnny Depp as Scottish author J. M. Barrie in the film "Finding Neverland" (2004). The following year he starred as Willy Wonka in "Charlie and the Chocolate Factory", which reunited him with director Tim Burton, with whom he had not collaborated since "Sleepy Hollow". The film was a box office success and had a positive critical reception, with Depp being nominated for the Golden Globe Award for Best Actor – Motion Picture Musical or Comedy. "Chocolate Factory" was followed by another Burton project, stop-motion animation "Corpse Bride" (2005), in which Depp voiced the character Victor Van Dort. Depp reprised the role of
Johnny Depp in which he portrayed real-life gangster John Dillinger. The next Depp-Burton collaboration was "Alice in Wonderland" (2010), in which he played the Mad Hatter alongside Helena Bonham Carter, Anne Hathaway and Alan Rickman. The following year saw the release of the fourth installment in the "Pirates" series, "" (2011), which was again a box office success. Depp also voiced the title character, a lizard, in the animated film "Rango" (2011). Depp returned to Hunter S. Thompson's work with a film adaptation of the novel "The Rum Diary", which also became the first project undertaken by his production company, Infinitum Nihil.