[[quoteright:285:http://static.tvtropes.org/pmwiki/pub/images/TheDepartedResized_5951.JPG]]

->''Francis, it's a nation of fucking rats.''

''TheDeparted'' is a 2006 American crime-thriller film and remake of the 2002 Hong Kong crime thriller ''InfernalAffairs''.

''The Departed'' was directed by Creator/MartinScorsese, written by William Monahan, produced by Graham King, Creator/BradPitt, and Brad Grey, and stars Creator/LeonardoDiCaprio, Creator/MattDamon, Creator/JackNicholson, and Creator/MarkWahlberg. The film was nominated for five [[AcademyAward Academy Awards]] at the 79th Academy Awards of which it won four; Best Picture for Graham King, Best Director for Martin Scorsese, Best Adapted Screenplay for William Monahan and Best Film Editing for Thelma Schoonmaker. It was the first Best Director win for Scorsese. Mark Wahlberg was also nominated for Best Supporting Actor (he lost to Alan Arkin for ''Film/LittleMissSunshine'')

This film takes place in Boston, Massachusetts, where notorious [[TheIrishMob Irish Mob]] boss Frank Costello takes neighborhood boy Colin Sullivan (Damon) under his wing, and grooms him to be his informant within the Massachusetts State Police. Sullivan rises through the ranks to get himself placed on an investigation unit that is working to bring down Costello.

Meanwhile, Billy Costigan, Jr. ([=DiCaprio=]) seeks to become a cop despite his family's disreputable past and their ties to organized crime. His interviewers eventually decide, when Costigan refuses to be intimidated out of dropping out of the academy, to arrange for him to go to prison on a trumped-up assault charge, giving him a criminal record and street cred so that he can infiltrate Costello's crew. When both sides of the law realize the situation, both Sullivan and Costigan attempt to discover the other mole's true identity before being found out.

----
!! This Movie Contains Examples Of:

* AcademyAward: It was nominated for five Academy Awards: Best Picture, Best Director, Best Supporting Actor, Best Adapted Screenplay and Best Film Editing. It won four of them, only losing Mark Wahlberg's nomination for Best Supporting Actor.
* AgeCut: Colin Sullivan has one at the beginning to transition from his youth to him in the police academy.
* AlliterativeName: Madolyn Madden.
* AllPsychologyIsFreudian:
* AllStarCast
* AnimalMotifs: Rats are a common motif. The last shot features a rat scurrying across a balcony with the state house in the background.
* AntiHero: Costigan is a Type III. He participates in some pretty bad shit and is certainly a real {{Badass}}.
* AnyoneCanDie: [[spoiler: Almost everyone can and will.]]
* AssholeVictim:
** The police's view on Miles Kennefik, killed by Costello. 'We're not here to solve the case of the missing scumbag."
** [[spoiler: Frank Costello]] himself gets killed by [[spoiler: Colin Sullivan.]] And [[spoiler: Fitzy and the rest of Costello's men]]. Subverted with [[spoiler: Delahunt]] in that he doesn't count because it is revealed that he kept Costigan's identity as a spy a secret because [[spoiler: he himself is also an undercover cop.]]
** And at the end, [[spoiler: Barrigan and finally, Sullivan himself.]]
* AxCrazy: Frank Costello embodies this trope.
* BattleOfWits: Sullivan vs. Costigan - find out who the other guy is without giving away your own identity. Begin.
* BeingGoodSucks: [[spoiler:Costigan remains loyal to the police throughout the whole movie. He spends time in prison and gets a criminal record to gain street cred so he can infiltrate Costello's organization, is roundly abused by his allies (especially Dignam), and is finally murdered ignominiously for his trouble.]]
* BilingualBonus: Anyone who can understand [[ChineseDialectsAndAccents Cantonese]] will get what the Chinese were ranting about, though their accents are off.
--> '''Chinese Mob Boss:''' What is wrong with you?! I've been waiting and waiting. This guy's from the government, man! If he gets caught he'll have to kill himself.
--> '''Costello's Translator:''' The boss doesn't think it's wise to bring automatic weapons. Are you crazy? Put your weapons away! Quick! Come on!
--> '''Chinese Mob Boss:''' Put the guns down.... I'm ordering you, check the goods.
* BigShutUp: Costigan to [[spoiler: Sullivan]], [[PunctuatedPounding punctuating each syllable with a punch to the face.]]
* BlackAndGrayMorality
* BlastOut: At one point a squad of cops follow Costello's men, with Sullivan ordering them to stay back and watch. Eventually they get fed up with this, ignore Sullivan's orders and charge in with guns blazing. The result is multiple casualties on both sides.
* BloodFromTheMouth: [[spoiler:Costello following his gut wound. He literally ''gushes'' blood once Sullivan double-taps him.]]
* BookEnds: Bags of groceries containing two quarts of milk and two loaves of bread figures prominently both at the beginning of the film and the end.
* CaliforniaDoubling: [[BigApplesauce New York]] stands in for Boston in some scenes.
** In ''most'' scenes ... Scorsese wanted to shoot in Boston, but there were issues, and New York offered a tax credit, so they only shot in Boston for a week to use scenery that was identifiably Boston.
** However, due to the success of the film and the academy awards it earned, a 25% tax credit was created for filmmaking in the Commonwealth of Massachusetts. Subsequent films that take place in Boston, like ''Film/TheTown'', have hence been shot on location, and several films that are set elsewhere have been made in Massachusetts.
* CanonForeigner: Sgt. Dignam has no equivalent character in the original ''Infernal Affairs'' film, where the police captain is the only person who knows the police mole's identity. [[spoiler:This makes Dignam's reappearance at the end more predictable for people who have seen the original]].
* ChekhovsGun: [[spoiler:The envelope]].
* ChekhovsGunman:
** [[spoiler:Barrigan]], literally.
** [[spoiler: Dignam arguably, who walks out of the film 40 minutes before the end seemingly for good, letting Costigan and Sullivan face off uninterrupted, before coming back in at the very end to wrap up the plot.]]
* ChewingTheScenery: [[JackNicholson "I smell a rat."]] Nicholson almost ''literally'' chews the scenery when doing his ''bizarre'' imitation of a "gnawing, ''cheese''-eating ''fucking'' rat."
* ChronicBackstabbingDisorder: Costello. He even screws over the Chinese government when he gets a chance.
* ClusterFBomb: 237 times total throughout the film. A lot of them are from Dignam.
* CountryMatters: This gem:
-->'''Oliver Queenan:''' Do you know what we do here? My section?
-->'''Billy Costigan:''' Sir, yes, sir. I have an idea...
-->'''Dignam:''' [interrupting] Whoa, whoa, whoa. Let's say you have no idea and leave it at that, okay? No idea. Zip. None. If you had an idea of what we do, we would not be good at what we do, now would we? We would be cunts. Are you calling us cunts?
-->'''Oliver Queenan:''' Staff Sergeant Dignam has a style of his own. I'm afraid we all have to get used to it.
* CruelMercy: Once he sees the jig is up, [[spoiler: Sullivan]] begs Costigan to kill him. Response: "I [[BestServedCold am]] killing you."
* CutHisHeartOutWithASpoon: "I'm gonna [[IWillTearYourArmsOff tear your fucking arm off]] and [[AssShove shove it up your fucking ass!!]]" (And this is a ''cop'' talking.)
* DaChief: Captain Queenan
* DeadpanSnarker: Sergeant Dignam in spades.
* DeathByAdaptation: In ''InfernalAffairs'', the character equivalent to [[spoiler:Sullivan]] is a KarmaHoudini who walks away scot-free by the end of the movie. In ''The Departed'', he is killed by [[spoiler:Dignam]], a character who has no counterpart in the original, and who's added to the adaptation for pretty much this purpose alone.
* DeathIsDramatic: Averted. One of the three leading actors is killed [[BoomHeadshot instantly]] with no warning whatsoever.
* DetectiveMole: Sullivan.
* DirtyCop: Sullivan. Ironically, he's not very well liked within the department because everyone thinks that he's using his ''squeaky clean record'' ([[ProfessionalButtKisser and a whole lot of asskissing]]) to get ahead. In a way, Costigan is technically one of these given that he is sent to prison on a trumped-up assault charge so that he can have an official criminal record and street cred before infiltrating Costello's crew, given his family's background.
* DisappearedDad: One of the major themes of the film.
* DownerEnding: And what a downer it is, not that anyone expected it to end well.[[spoiler: Almost everybody dies. Sullivan kills Frank after finding out Frank was informing on the FBI and fearing he'd rat him out. (If he had to he probably would have, given the tapes he made of their conversations.) Costigan after outing Sullivan is killed by the other mole Barrigan who Sullivan was unaware of was working for Frank too; Sullivan kills him to cover his tracks since the department is unaware there is more than one mole and Dingnam kills Sullivan after Costigan has the evidence incriminating Sullivan sent to him.]]
* DragonTheirFeet: Reversed and played straight at two different points.
* TheDragon: Mr. French for Costello.
* EnhanceButton: Subverted when zooming all the way in on security camera footage does not enable Sullivan to discern any more details about his pursuer, keeping him from identifying Costigan.
* EvenEvilHasStandards: When Irish mob boss Frank Costello executes two people on a remote beach by shooting them in the back of the head, he notes that one of the victims "fell funny". Costello's right-hand man Mr. French gives him a disturbed look and voices to his boss that he might want to talk to someone.
* EverythingsLouderWithBagpipes
* EvilCounterpart: Sullivan to Costigan. At one point, they even wear practically identical clothing.
* EvilDetectingDog: A dog shies away from Sulllivan.
* EvilPhone: Played straight when Costello is on the other end. Subverted with Queenan's phone.
* FaceDeathWithDignity: [[spoiler:Sullivan ultimately meets his fate with a dejected "[[GetItOverWith Okay]]..."]]
* FlockOfWolves: [[spoiler:The only two named members of Costello's crew who aren't undercover cops or confidential informants are Fitzy and Mr. French. And that's including Costello himself.]]
* ForTheEvulz
-->'''Billy Costigan, JR.''': You're seventy fucking years old. One of these guys is going to pop you. As for running drugs, what the fuck. You don't need the pain in the ass, and they're going to catch you. And you don't need the money.
-->'''Frank Costello''': I haven't "needed the money" since I took Archie's milk money in the third grade. Tell you the truth, I don't need pussy any more either... but I like it.
* ForeignRemake: Of Hong Kong's ''Film/TheInfernalAffairsTrilogy''.
* {{Foreshadowing}}: As pointed out by [[http://www.cracked.com/photoplasty_649_23-famous-movies-full-symbolism-you-didnt-notice_p23/#6 Cracked]], almost every death is preceded by an X in frame. Like, window frames, the floor pattern in Sullivan's apartment, a bit of tape in that elevator Sullivan and Costigan ride.....
** Also, several times earlier in the film there are closeups of people pushing buttons in elevators, and the floor indicators ... foreshadowing the climactic scene in the building under construction where [[spoiler:Brown, Costigan and Harrigan all die]].
* GoodCopBadCop: When Costigan is being interviewed about his application by Queenam and Dignam, Queenam plays the good cop while reading Costigan's application and Dignam plays the foul-mouthed bad cop trying to discourage Costigan from signing up.
* GoodIsNotNice: Costigan and Dignam.
* GoodPeopleHaveGoodSex: Costigan is a love machine. Sullivan, meanwhile, seems to have issues with erectile dysfunction. Guess which one is the hero. Averted by Costello, however, who has an active sex life (even at his old age) despite being a far from exemplary individual.
* HadToComeToPrisonToBeACrook: Invoked when Costigan [[spoiler:goes to prison to build up a reputation as a crook to be able to infiltrate TheIrishMob.]]
* HahvahdYahdInMyCah: Naturally Boston accents feature prominently. Matt Damon's and Mark Walhberg's are natural, due to them being native Bostonians.
* HairTriggerTemper: Costigan, Costello and Dignam.
* HeroicBSOD: Costigan and Sullivan have a ''simultaneous'' one when they [[spoiler:on the phone together after Queenan's death]]. Although Sullivan's is probably more of an Anti-Heroic version.
* HiredToHuntYourself: Sullivan, looking for a mole within the police department. He HangsALampshade on this while talking to Frank about it.
* HollywoodSilencer: [[spoiler:In the final scene]].
* HopeSpot
* {{Hypocrite}}: Frank told Colin as a kid not to let anyone tell him what to do. [[spoiler:Frank's an FBI rat]].
** Sullivan and Costigan calling other characters "rat fucks" is pretty hypocritical.
* IllKillYou
* IfYoureSoEvilEatThisKitten
* INeverSaidItWasPoison: A dying mobster figures out that Costigan is an undercover cop because he is at the place where the other gangsters were congregating to catch the mole, even though Costigan was accidentally given the wrong address.
* TheInfiltration: Played straight and inverted.
* InvulnerableKnuckles: Averted. Costigan injures his left hand punching out a goon in a bar fight and has to have it put in a cast. Which comes back to bite him when Costello thinks the cast is a ruse to conceal a wire and inspect it rather roughly.
** Funnily enough, this is based on a scene in the original film where the cast ''is'' fake.
* TheIrishMob: Costello (partially based on real-life [[TheIrishMob Irish mobster]] Whitey Bulger) heads it.
* {{Jerkass}}: Sullivan and Costello.
* JerkWithAHeartOfGold: Staff Sgt. Sean Dignam. He is a rude, obnoxious bully who needlessly antagonizes just about everyone he comes in contact with. [[spoiler:But he also cares about the law and justice and sees to it that Queenan and Costigan's deaths are avenged.]]
* KarmaHoudini: Subverted. [[spoiler:At the end it looks like Sullivan is going to get away scot-free. Then Dignam makes sure that can't happen.]]
* KillEmAll: With extreme prejudice.
* KudzuPlot: They stretch this out into a ''two-and-a-half hour movie''. Hell, it takes 20 minutes just to get to the title card!
* LargeHam: Jack Nicholson
* MaleFrontalNudity: Costello whips it out in a movie theater at one point during a covert meeting with Sullivan.
* MexicanStandoff
* MisterSandmanSequence
* TheMole: Sullivan is a mole planted by Costello to be his informer within the police, while Costigan works the other way as a mole planted by the cops to be an informer within Costello's crew.
* NumberTwo: Dignam for Queenan.
* ObfuscatingStupidity: Early on in the film Costigan pretends to be significantly less intelligent than he is, in hopes that Costello won't consider the possibility that he's the mole.
* ObstructiveVigilantism: Dignam keeps mum about what he knows, and in the end he [[spoiler:[[WhyDontYouJustShootHim just shoots Sullivan]]]].
* OddlySmallOrganization: The Boston mob, or what we see of them, is composed of five members, twenty to forty percent of whom are [[spoiler: [[FlockOfWolves undercover cops]].]]
* OohMeAccentsSlipping:
** MartinSheen, God bless him, and the therapist.
** LeonardoDiCaprio is explained within the story that he faked his accent based on the social situation.
** On a point of interest, MarkWahlberg and MattDamon don't have to deal with this problem, because they're native Bostonians. Wahlberg specifically is even from a working class background, and based his performance as Dignam on that of the cops who arrested him many times as a teenager... making this TruthInTelevision.
* OpeningMonologue: Costello gives one.
* OvertRendezvous: Whenever Queenan and Dignam need to chat with Costigan, they meet him in some park/riverbank area. This worries Costigan, because if anyone sees him with them, he's pretty much dead.
** Costello points out how stupid it is for Sullivan to meet with him in a porno theater. This turns out to be prophetic, as Costigan almost catches Sullivan when he leaves.
* ThePasswordIsAlwaysSwordfish: In this case, a JustifiedTrope.
* PoliticallyIncorrectVillain: Costello mentions a distaste for "niggers" in his opening monologue. While it is shown to have historical significance this racism fails to show up in any significant way within the plot - it is only used to [[EstablishingCharacterMoment establish]], mere seconds into the movie, that this guy is not a good man.
** He's also pretty equal-opportunity non-PC. He throws around "guinea" (a very derogatory term for Italians) all the time and calls his Chinese contacts "Chinamen" and "chinks".
* PrettyLittleHeadShots: Averted as most people in this movie die from getting shot in the head, and it's ''never'' pretty. It's also [[DefiedTrope defied]] in the opening montage at the academy, as the instructor details for his cadets the effects that their hollow point ammunition would have on a human skull.
* PrisonRape: Amusingly subverted. Madolyn asks Billy about his time in prison, leading to this exchange:
--> '''Billy:''' Oh, what, you wanna hear about the showers, is that it?
--> '''Madolyn:''' Why, did something happen to you?
--> '''Billy:''' (''{{Beat}}'') ... No.
* ProlongedPrologue: The credits don't appear until nearly 20 minutes after the start of the movie, by which time you've already seen a flashback scene, a TrainingMontage, and the first plot twist.
* ProperlyParanoid: Costello and Queenan are both correct in their assumptions that there's a mole in their repective teams. [[spoiler:More than one, in both cases]].
* RealityEnsues: At the end [[spoiler:it looks like Sullivan is going to get away [[KarmaHoudini scot-free]]. Then Dignam unceremoniously shoots him dead.]]
* ReasonableAuthorityFigure: Captain Queenan (who also has some overlap with TeamDad).
** Ellerby as well, despite his somewhat eccentric personality.
* RedemptionQuest: In Costigan's introductory scene, Queenan and Dignam press him as to why he's trying to be a police officer and go over the numerous members of his family who were involved in organized crime. Costigan suggests that he is trying to improve his family name and disassociate himself from the disreputable backgrounds of people like his late father, his late uncle, or his cousins.
* RevisedEnding
* RooftopConfrontation: Costigan and Sullivan have one after they have figured each other out.
* SanitySlippage:
** Costello becomes more unhinged as the story progresses. Which is disturbing to see, since he's not terribly sane to start with.
** Costigan struggles with this from time to time.
* SelfOffense
* SexualKarma: Sullivan's erectile dysfunction.
* ShoutOut: The scene in the graveyard has significant visual parallels with a scene in ''Film/TheThirdMan''.
* ShoutOutToShakespeare: "Readiness is all." [[LampshadeHanging Lampshaded]] by Dignam.
* SirSwearsALot: Staff Sergeant Dignam.
* SmugSnake: Sullivan grows increasingly more loathsome throughout the film, climaxing in his confrontation with Costigan on the roof and subsequent elevator ride. [[spoiler: Weeping, he begs a clearly disgusted Costigan to shoot him to give him an easy way out. Costigan [[CruelMercy refuses.]]]]
* TheSmurfettePrinciple: Madolyn.
* {{Southies}}
* StrangeMindsThinkAlike:
** Cranberry juice.
** The echo of "What's the difference?" This is what Costello says in his opening monologue, then Costigan to him in a bar later on.
** "School's out."
* SurprisinglySuddenDeath: [[spoiler:Billy Costigan]] gets killed instantly with no warning.
* TelevisionGeography:
** Boston's Government Center is portrayed as the Massachusetts State Police headquarters. In actuality, the MSP general headquarters is in Framingham.
** Likewise, the Massachusetts state police academy is in East Braintree, a small town outside Worcester, not Boston.
** An undercover investigation into the Boston mob would probably be conducted by the Boston Police Department, not a state police force.
* ThereAreNoTherapists: AvertedTrope: Costigan must see a therapist as part of his "parole" and to maintain his cover.
* TitleDrop: Thrice in English, once in Cantonese.
* TortureAlwaysWorks: In this case, it would be ultimately ''less'' painful to maintain the lie.
* TroubledButCute: Costigan, to Madolyn.
* TheUnreveal: What Costello got Sullivan after he graduated from the Police Academy. The screenplay actually goes out of its way to say we'll never know what it is.
* UncomfortableElevatorMoment: Costigan and Sullivan after they know the truth about each other.
* UngratefulBastard: So how does [[spoiler:Sullivan]] thank the guy who saved him from his captor? By shooting his rescuer in the face, of course.
* {{Unperson}}: With no one from the undercover unit left to vouch for Costigan, Sullivan deletes his service records.
* VeryLooselyBasedOnATrueStory:
** While the film is a remake of ''Infernal Affairs'', Costello was also partially based on real life [[TheIrishMob Irish Mob]] boss James "Whitey" Bulger who was also working for (and protected by) the FBI. He eventually became one of the FBI's [[http://www.fbi.gov/wanted/topten/fugitives/bulger.htm Ten Most Wanted]] and was finally arrested in June 2011. Strangely enough, Bulger was rumored to have seen the movie when it came out, and apparently liked it.
** Colin Sullivan is also based loosely on John Connolly, who Bulger used to treat to ice cream as a kid, and grew up to become the FBI agent who regularly tipped Bulger off that that the police were on to him in return for info that brought in lesser criminals who often coincidentally happened to be Bulger's rivals.
* VigilanteExecution: [[spoiler: Sorta. Sullivan manages to kill the only people who've discovered that he's Costello's mole and appears set to get away with it without even being charged with a crime, much less convicted, but Sgt. Dignam has other ideas.]]
* VillainProtagonist: Both Costello and Sullivan are main characters.
* VillainousBreakdown: Frank Costello, and later on, [[spoiler: Colin Sullivan at the end.]]
* VillainousBSOD: Played with when Sullivan [[spoiler: discovers that Costello is an informant]] he [[spoiler: leads the police to the gang's location and ultimately kills Costello himself]], actions that are undoubtedly "moral", yet he only does these things to close the door on his criminal life and to save his own skin.
* WholePlotReference: To ''Film/GangsOfNewYork'' - Creator/LeonardoDiCaprio plays an Irish guy with a [[TheIrishMob Mob]] family history who infiltrates a gang in an east coast metropolis in order to gain the trust of the bigoted, extremely hammy mob boss - a lot of [[{{Southies}} Irishisms]], [[DirtyCop dirty]] [[OfficerOhara cops]] and a love triangle ensue. It's even directed by the same director.
* WickedCultured: Costello is a fan of opera.
* YourMom: Averted, Dignam sees this line coming and prevents it from being used on him.
-->'''Ellerby:''' Go fuck yourself.
-->'''Dignam:''' I'm tired from fucking your wife.
-->'''Ellerby:''' How's your mother?
-->'''Dignam:''' Good, she's tired from fucking my father.

----