[[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 ''Film/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 Creator/AlanArkin for ''Film/LittleMissSunshine'')

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

Meanwhile, Billy Costigan, Jr. (Leonardo [=DiCaprio=]) is seeking to become a cop, despite the fact that he comes from a family that has a very disreputable past and numerous 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:
* 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 PragmaticHero. He participates in some pretty bad shit and is certainly a real {{Badass}}.
* AnyoneCanDie: [[spoiler: Almost everyone can and will.]]
* ArtisticLicenseLaw: Colin Sullivan is assigned to a detective role immediately upon graduating from the police academy for the Massachusetts State Police. In reality, all of these State Troopers are immediately assigned to field training in uniformed patrol upon graduation and can expect three to five years of patrol work before they are even considered for any other role or promotion in the agency.
* AssholeVictim:
** The police's view on Miles Kennefik, killed by Costello's crew. Captain Ellerby points out, "We're not here to solve the case of the missing scumbag. We're here to nail Costello."
** [[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 in Sullivan's first and last scenes.
* 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, 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."]] In fact 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 ''Infernal Affairs'', 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 Dignam kills Sullivan after Costigan has the evidence incriminating Sullivan sent to him.]]
* DragonTheirFeet: Reversed and played straight at two different points.
* TheDragon: Mr. French is Costello's.
* 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 Costello executes two people on a remote beach by shooting them in the back of the head, he notes that the woman "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: At the graduation for the cadets
* 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''': 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 gets four months in prison to build up a reputation as a crook to be able to infiltrate TheIrishMob.
* HahvahdYahdInMyCah: Naturally Boston accents feature prominently. You even get the real package, since Matt Damon and Mark Walhberg are native Bostonians.
* HairTriggerTemper: Costigan, Costello and Dignam.
* HeroicBSOD: Costigan and Sullivan have a ''simultaneous'' one when they are [[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 Costello 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: Before dying, Delahunt 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. [[spoiler:Then Delahunt turns out to be an undercover BPD cop.]]
* 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, but is dedicated to the job and fiercely loyal to Queenan. [[spoiler:He saw to it that Queenan's death, as well as Costigan's (who he didn't even like) were 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.
** For LeonardoDiCaprio, it is explained within the story that Costigan faked his accent based on the social situation.
** On a point of interest, MarkWahlberg and MattDamon are immune to this because they're native Bostonians. Wahlberg specifically is even of a working class background, and Dignam's behavior is based on that of the cops who arrested Marky Mark 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 he knows if anyone sees him with them, he's pretty much got a crosshair on his forehead.
** 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 Costigan 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}}
* SpySpeak: When someone is communicating with Costello via phone, they always address him as "Mom" or "Dad" to make it seem like they're communicating with their parents. One example is when Fitzy is detained for a traffic violation. Sullivan poses as the lawyer and tells him to call his mom and tell her he won't be home for supper. Fitzy goes along and makes the call, which goes to a house where Mr. French and Costigan are handling some drugs. He says the line, which tells them to clear out the apartment, then set the place on fire.
* StrangeMindsThinkAlike:
** The cranberry juice scene.
** The echo of the "When you're facing a loaded gun, 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.
* TeamDad: Queenan, especially to Dignam and Costigan.
** When Costigan had enough of Dignam's abuse and they started brawling on the street, Queenan breaking them up was like a father dealing with his two misbehaving kids.
* 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. However, there ''is'' a city cop undercover among Costello's crew, and its doubtful he limits his criminal activities to the city itself.
** When arrested by Costigan, Sullivan tells him "good luck explaining this to a Suffolk County jury!" Suffolk County has no government or courts of its own, as they have been incorporated into the city of Boston.
* ThereAreNoTherapists: AvertedTrope: Billy 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.
* UnintentionalPeriodPiece: When Costigan is on the walkway at the airport and talking to Dignam on the phone, one shot shows what are clearly Northwest Airlines and United Airlines aircraft in the background. This narrows down the time period because the United planes are painted dark gray, when today they are painted white, while the Northwest plane bears a paint scheme that lasted from 2004 until the airline merged with Delta in 2010.
* {{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. Both are directed by Martin Scorsese.
* 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.

----