The Dark Knight is a 2008 superhero film directed, produced, and co-written by Christopher Nolan. Based on the DC Comics character Batman, the film is the second part of Nolan's Batman film series and a sequel to 2005's Batman Begins. Christian Bale reprises the lead role of Bruce Wayne/Batman, with a returning cast of Michael Caine as Alfred Pennyworth, Gary Oldman as James Gordon and Morgan Freeman as Lucius Fox. The film introduces the character of Harvey Dent (Aaron Eckhart), Gotham's newly elected District Attorney and the consort of Bruce Wayne's childhood friend Rachel Dawes (Maggie Gyllenhaal replacing Katie Holmes from the first film), who joins Batman and the police in combating the new rising threat of a criminal mastermind calling himself "The Joker" (Heath Ledger).
Nolan's inspiration for the film was the Joker's comic book debut in 1940, the 1988 graphic novel The Killing Joke, and the 1996 series The Long Halloween, which retold Two-Face's origin. The nickname "the Dark Knight" was first applied to Batman in Batman #1 (1940), in a story written by Bill Finger. The Dark Knight was filmed primarily in Chicago, as well as in several other locations in the United States, the United Kingdom, and Hong Kong. Nolan used an IMAX camera to film some sequences, including the Joker's first appearance in the film. On January 22, 2008, some months after he had completed filming on The Dark Knight and six months before the film's release, Heath Ledger died from a toxic combination of prescription drugs, leading to intense attention from the press and movie-going public. Warner Bros. initially created a viral marketing campaign for The Dark Knight, developing promotional websites and trailers highlighting screenshots of Ledger as the Joker.
A co-production of the United States and the United Kingdom, The Dark Knight was released on July 16, 2008 in Australia, on July 18, 2008 in North America, and on July 24, 2008 in the United Kingdom. Considered by film critics to be one of the best films of the 2000s and one of the best superhero films ever, the film received highly positive reviews and set numerous records during its theatrical run. The Dark Knight appeared on more critics' top ten lists (287) than any other film of 2008 with the exception of WALL-E, and more critics (77) named The Dark Knight the best film of 2008 than any other film released that year. With over $1 billion in revenue worldwide, it is the 19th-highest-grossing film of all time, unadjusted for inflation. The film received eight Academy Award nominations; it won the award for Best Sound Editing and Ledger was posthumously awarded Best Supporting Actor. The Dark Knight Rises, the final film in the trilogy, was released on July 20, 2012.