<Tr> <Th> Budget </Th> <Td> $90 million </Td> </Tr> <Tr> <Th> Box office </Th> <Td> $289.8 million </Td> </Tr> <P> The Departed is a 2006 American crime drama film directed by Martin Scorsese and written by William Monahan . It is a remake of the 2002 Hong Kong film Infernal Affairs . The film stars Leonardo DiCaprio, Matt Damon, Jack Nicholson, and Mark Wahlberg, with Martin Sheen, Ray Winstone, Vera Farmiga, Anthony Anderson and Alec Baldwin in supporting roles . </P> <P> The film takes place in Boston . Irish Mob boss Francis "Frank" Costello (Jack Nicholson) plants Colin Sullivan (Matt Damon) as a mole within the Massachusetts State Police; the two characters are loosely based on famous gangster Whitey Bulger and corrupt FBI agent John Connolly, who grew up with Bulger . Simultaneously, the police assign undercover state trooper William "Billy" Costigan (Leonardo DiCaprio) to infiltrate Costello's crew . When both sides realize the situation, Sullivan and Costigan both attempt to discover the other's identity before their covers are blown . </P>

The departed is a remake of what film