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 ), who joins Batman and the police in combating the new rising threat of a criminal mastermind calling himself " The Joker " ( Heath Ledger ).