%% Don't re-add non-examples that have been deleted, since there have been problems with this article in the past.
%% But by the same token, don't remove genuine examples just to avoid spoiling them! The page is already spoiler-tagged at the top.

'''WARNING: The presence of any work on this list may well constitute a spoiler.'''

Among the various cops, forensics people, etc., working on a crime scene in fiction, there's a good chance that one person on the team will know a ''lot'' more about what happened than everyone else present ... because they ''committed'' it.

In real criminal investigations, it's not uncommon for the offender to somehow attempt to insert himself/herself into the investigation to keep tabs on it, or for ego's sake. In this trope, it happens that the offender is actually an official part of the investigation, and is quite probably cheerfully leading DetectivePatsy astray as much as possible.

This applies to any crime. The defining characteristic is that one of the investigators is in fact the perpetrator, whether the audience knows it or not. Compare BruceWayneHeldHostage, HiredToHuntYourself. When the Detective Mole is very high-ranking, see MoleInCharge.

[[IThoughtItMeant No connection]] whatsoever to Creator/HannaBarbera cartoon star [[WesternAnimation/SecretSquirrel Morocco Mole]], who is an assistant detective who happens to ''be'' a mole.

This was explicitly banned in Ronald Knox's "Ten Commandments" of the FairPlayWhodunnit story, although some authors viewed the prohibition as only applying to [[LoopholeAbuse the main investigator]] and still wrote stories unmasking a secondary member of the investigating team as the criminal.

''Again, spoilers below. This is your warning. Proceed at your own risk.''



[[folder:Anime and Manga]]
* ''Manga/DeathNote''. It isn't a particular murder, but a massive supernatural killing spree...but the killer is still called in to investigate.
** Though this is because L, the lead detective is the world's best [[IHaveManyNames three detectives]], and has called in Light, both because he is useful as a detective, and because he has a high probability of being the killer, presenting the chance for the lead detective to get into his mind. This was his ''stated purpose'' in bringing in Light.
** As a twist, during a good part of the investigation, Light [[MemoryGambit doesn't even know he's the killer]].
** Played straight in ''Manga/DeathNote'': ''LightNovel/AnotherNote''. Naomi Misora is very impressed with Ryuuzaki's ability to decipher Beyond Birthday's [[CriminalMindGames codes]] when no one else can--of course it's because "Ryuuzaki" ''is'' Beyond.
* Runessa in ''Audioplay/StrikersSoundStageX'' of ''Franchise/LyricalNanoha'', who's both part of the investigation group on a killing spree and the true mastermind behind said killing spree.

* Inverted in one ''ComicBook/GreenManor'' story, where the detective looking for the elusive SerialKiller John Smith (who has baffled police and profilers alike, because he never seems to have the same MO or psychological profile, other than leaving "I will kill again" at the scene) realizes [[spoiler:there is no serial killer: every crime was committed independently and [[JackTheRipoff signed John Smith]]. So as to bring an end to this universal alibi,]] the detective exposes himself as the killer.
* In the Spectacular ''ComicBook/SpiderMan'' Sin-Eater story, Spider-Man works with detective Stan Carter to try to unmask the serial killer, only to discover it's Stan who's the bad guy.
* In the first ''ComicBook/MarshalLaw'' mini-series ''Fear and Loathing'', the serial killer the Sleepman turns out to be Danny Mallon, Marshal Law's [[ObfuscatingDisability apparently wheelchair-using]] MissionControl.

* In ''Film/TheDeparted'', Creator/MattDamon plays a Boston cop and mole for Creator/JackNicholson's criminal empire who is charged with finding the mole in the Boston police department (himself). ''The Departed'' was an adaptation of a Hong Kong film titled ''[[Film/TheInfernalAffairsTrilogy Infernal Affairs]]''.
* In ''Film/SawIV'', Detective Mark Hoffman is revealed to be SerialKiller Jigsaw's second protégé.
* In ''Film/OceansTwelve'' and ''Film/OceansThirteen'' an Interpol agent (in 12) and the main FBI agent investigating the gang (in 13) turn out to be respectively Linus' mother and father, and actually ''help'' the con.
* In ''Film/AceVenturaPetDetective'', a murder and two kidnappings (one dolphin and one Dolphin) were investigated[[spoiler:, and also instigated, ]]by police chief Lois Einhorn.
* Judge Doom is ostensibly the one looking for the one responsible for murdering Marvin Acme in ''Film/WhoFramedRogerRabbit''. He's the one who committed the murder. What's more, he also kills R.K. Maroon before he spills the beans. And was the one behind the company buying Maroon Studios and the Red Car. ''And'' was the one who killed Eddie's brother all those years ago. Moreover, he did all this so that he could destroy Toontown and build a resort area next to the soon-to-be completed freeway. (And, according to one of the first drafts of the script, he was the one who shot Disney/{{Bambi}}'s mother!) That's one seriously disturbed toon.
* In ''Film/TheSting'' the FBI agents who assist Lieutenant Snyder in his pursuit of Robert Redford and convince him to help their investigation are revealed to be the final part of the sting.
* With the exception of John Hartigan, every cop in ''Film/SinCity'' is working for the bad guys. The only difference is that there is no reason to keep it a secret.
* In ''Film/NoWayOut'', the three main characters involved in the investigation of a Pentagon-related murder that is blamed on a [[RedHerringMole supposed Soviet mole]] are each guilty of a crime. One is the actual murderer, another is helping him frame someone else for said murder, and the third is an actual Soviet mole.
* ''Film/{{Horns}}'' movie adaptation features a variant of this. Ig Parrish is accused of the rape and murder of his girlfriend, which had been committed by [[spoiler: Lee, who is Ig's best friend and lawyer. Lee actually tries to frame Terry (Ig's elder brother) as the culprit.]]
* Taken to the limit in the 1949 noir ''Follow Me Quietly'' in which a serial killer called "The Judge" takes the place of a dummy of himself created by detectives to aid identification so he can listen in on how the investigation is going.
* ''Film/InvestigationOfACitizenAboveSuspicion'' opens with the VillainProtagonist killing his girlfriend. He then goes to work--at police headquarters, where he's chief of homicide. Moments later he's called out to investigate the killing he just committed.

* This happens in several Creator/AgathaChristie novels. A few examples would be:
** In ''Literature/HerculePoirot's Christmas'' the murderer turns out to be [[spoiler:Superintendent Sugden, the local police officer involved in investigating the murder]].
** In ''Literature/TheMurderOfRogerAckroyd'', [[spoiler:the new Watson figure, who replaces Hastings as Poirot's sidekick and the novel's narrator, is the killer]].
** In ''Literature/ThreeActTragedy'', the culprit is one of the {{Amateur Sleuth}}s whom Poirot and Mr. Satterwhaite collaborated with.
** In ''Literature/{{Curtain}}'' the murderer is [[spoiler:Poirot himself. Well, he's *one* of the murderers, anyway--still not the main one.]]
* In Gaston Leroux's novel ''The Mystery of the Yellow Room'', the murderer turns out to be [[spoiler: Frederic Larsan, the Lestrade-like police detective who competes with the AmateurSleuth for solving the crime]].
* In Creator/GeorgetteHeyer's detective novel ''A Blunt Instrument'', the killer is revealed to be PC Glass, the local beat policeman who "discovered" the victim. The titular weapon was his official truncheon.
* Ivan Frantsevich Brilling in ''Literature/TheWinterQueen''. He wasn't directly involved in the crime itself, but it was done by members of the same organization.
* Michael Slade's RCMP novels are fond of this trope, using it with a Mountie in ''Headhunter'' and a forensics analyst in ''Primal Scream''.
* ''Literature/RomaSubRosa'' used this once.
* ''Mackerel by Moonlight'', whose real claim to fame is that the author was governor of Massachusetts until right before it was published.
* In Val Mcdermid's ''The Distant Echo'', four students literally stumble upon the body of a young woman, and are immediately suspected of the crime. The reader is lead to wonder if it was one of them who killed her, and in that case who. As it turns out, the real killer is [[spoiler:the first police officer on the scene.]]
* The murderer in Creator/IsaacAsimov's ''Literature/TheCavesOfSteel'' is [[spoiler:in charge of the investigation, and specifically picked his old friend, the main character, to handle it]].
* In the ''Literature/LordDarcy'' novel ''Too Many Magicians'', the true identity of the murderer/Polish spy known as 'Goodman Fitzjean' is [[spoiler:Commander Ashley, the Naval Counterintelligence officer assigned to track Fitzjean down]].
* Literature/TimeScout: Sid Kaedermann insinuates himself into the rescue mission for his own victims.
* This happened when a police inspector was covering up evidence at the scene of crimes his organization had committed until he was stopped by the Shadow.
* Fred Vargas' novels have two examples so far.
** In ''This Night's Foul Work'', [[spoiler: Ariane Lagarde, a highly-respected forensics expert]] deliberately misleads the whole investigation team by setting up a false but very convenient culprit. Adamsberg and Danglard do think that someone connected to the crimes is in their team... [[spoiler: but they spend most of the book suspecting Lieutenant Veyrenc.]]
** In ''The Ghost Riders of Ordebec'', the Ordebec murderer is none other than [[spoiler: Louis-Nicolas Emeri, the ''gendarmerie'' officer initially in charge of the investigation.]]
* In ''Literature/ArseneLupin in Prison'', [[spoiler:the Inspector Ganimard from the first half of the story, hired by Baron Cahorn to stop Lupin's newest scheme, is an impostor employed by Lupin, as opposed to the real Ganimard who visits Lupin in jail in the second half of the story.]]
* In ''Literature/{{Memory}}'' by Creator/LoisMcMasterBujold, the [=ImpSec=] head Simon Illyan is poisoned by Lucas Haroche, one of his direct subordinates and effectively his second-in-command. Haroche doesn't lead the investigation personally, but he does decide who is on it, its scope, and who can contact Illyan.
* Creator/MichaelConnelly's mystery novels:
** In ''Literature/ThePoet'', the SerialKiller that the FBI is hunting turns out to be one of the FBI agents.
** In ''Literature/TheBlackEcho'', the FBI agent in charge of the task force investigating the bank robbery turns out to be the mastermind behind the bank robbery, and the murderer to boot.
** In ''Literature/AngelsFlight'', the murderer turns out to be one of the detectives on the LAPD task force investigating the murder. He uses his inside access to tamper with evidence in order to frame a different cop.

* In the first-season ''Series/{{Dexter}}'' episode "Return to Sender", Dexter gets called to the scene of one of his own murders.
** And again at the beginning of the third season where Dexter takes someone through how their brother was killed. Beforehand he had the opportunity to pick up some evidence he dropped.
** In fact he was called in when someone mistakenly tried to copy Dexter and ended up in several trash bags. Actually looking over his own crime scenes happens a lot.
** Oh yeah, and then there's the ''entire second season'', which Miami Metro PD and the FBI spent looking for the [[TheButcher Bay Harbor Butcher]] and Dexter spent evading them.
* In ''Series/TheMrsBradleyMysteries'', the killer in the final episode turns out to be [[spoiler: Inspector Henry Christmas]].
* In season 3 of ''Series/NipTuck'', serial killer The Carver turns out to be [[spoiler: Quentin Costa and Detective Kit [=McGraw=], who's investigating the case, is his sister and accomplice]].
* The third episode of ''Series/PushingDaisies'' has Ned called in to investigate the "accidental involuntary manslaughter" he was responsible for in the first episode.
* Memorably used in the pilot episode of ''Series/{{Hustle}}'', in which the lead investigator uncovering the crew's confidence schemes is actually a fellow conman, who vanishes with all the cops' evidence before his ruse is uncovered.
* In the ''Series/{{Columbo}}'' episode "A Trace of Murder," the killer is a crime scene investigator.
* In the Season 1 finale of ''{{Series/Damages}}'', the man who killed the protagonist's fiancee is seen returning to the crime scene to recover a crucial piece of evidence left behind by his accomplice. As he snatches the evidence up and pockets it, one of the cops investigating the case bursts in on him... and greets him as a fellow detective, introduces him to the protagonist, and offers to show him around the crime scene.
* There was an episode of ''Series/{{Monk}}'', "Mr. Monk and the Captain's Marriage", where the killer turned out to be a cop who claims to be sleeping with Stottlemeyer's wife. (He'd lost a tooth down a grate in a fight with the victim, and he needed Stottlemeyer to punch him in the face so that when the tooth was found at the crime scene it wouldn't incriminate him.)
* In the ''Series/{{Psych}}'' episode "Psy vs. Psy", Shawn competes with a rival psychic who turns out to be getting her information about a robbery from having been in on the crime. When Shawn puts the amount of stolen money much higher than she does, she realizes her partner is going to double-cross her, kills him, and shows up to investigate the murder. At the crime scene, she touches the body while "psychically reading" it to explain the presence of her DNA.
* Methos from ''Series/{{Highlander}}'', as he's in charge of the division of Watchers who are trying to find him.
* This happens in a ''Series/{{MADtv}}'' sketch about what it would be like if psychic detectives were real. The medium examines the scene, declares it a perfect murder with no clues, gets a psychic impression, and immediately and easily divines that the investigator did it. Busted.
* ''Series/MidsomerMurders'' has one where a large sum of money goes missing, with two JerkAss "special ops" types are sent to help. Troy immediately sucks up to them, despite their contempt. In the end, it turns out they were in on the heist, with their own boss masterminding (and having done the murders, which wasn't part of the plan).
** Sgt. Trevor Gibson in "Sleeper Under the Hill" turns out to be involved in the killings and does his best to throw Barnaby and Jones off the trail. He ultimately falls victim to his partner in crime.
* The detectives on the "Strike Team" on ''Series/TheShield'' were made to investigate the robbery of a money laundering operation which they were responsible for.
* [[PlayingWithTropes Played with]] in the 5th season of ''Series/TheWire''. Two detectives fake a series of murders of homeless men using bodies recently deceased of natural causes, and end up investigating their own staged crime scenes. Instead of attempting to cover up their work, the aim is to bring publicity to the "killings" in order to restore police funding.
** Also, an unscrupulous reporter fakes having received a phone call from the imaginary killer in order to further his own career, much to the [[CowboyCop "mastermind's"]] surprise; who then decides to call the reporter ''for real'' as the killer to bring in even more publicity.
* In an episode of ''Series/SabrinaTheTeenageWitch'', the cast took part in a magical murder mystery party, with Sabrina acting as the detective. Much to her own surprise, she turned out to have committed the crime at the end of the episode.
* In one episode of ''Series/TheCloser'', a [[AssholeVictim man who killed two of his girlfriends]] in the late 90s, but was never convicted because the bodies weren't found, is murdered. The man who lead the first investigation, a Detective Olin who has since retired, is asked to come in and help them with the new murder, because of his insight in the original case and his close relationship with the families of the victims. In the end, it turns out Detective Olin is [[TheLastDance dying]] and, desperate to solve his ThatOneCase, killed the man after torturing him until he revealed where he buried the bodies.
* In the ''Series/{{Leverage}}'' universe, the actual, real-world never-solved mystery of [[http://en.wikipedia.org/wiki/D._B._Cooper D.B. Cooper]] was never solved because... basically right after landing, D.B. Cooper got himself into his own investigation, tampered with the evidence, and then spent the rest of his life as a completely legitimate FBI agent.
* Happens several times on ''Series/BabylonFive'', due partially to the fact that the eponymous station is where folks go (at least earlier in the show) when they get ReassignedToAntarctica. Many of the security guards work there simply because they had nowhere else to go, and more than a few are easily bribed. The most notable example, however, would be [[spoiler: Garibaldi's assistant Jack]], in the first season.
* In the ''{{Series/Thriller}}'' adaptation of Creator/RobertBloch's "Yours Truly, Jack the Ripper," the Ripper is actually Dr. John Carmody, the psychiatrist consulting for the police investigation of the latest string of murders.
* In ''{{Series/Kojak}}'''s second episode, "Web of Death," a police detective murders his wife's lover and gets himself assigned to investigate the case. Unluckily for him, his usual partner comes down with appendicitis and he gets paired up with Kojak, who quickly sniffs out the truth.
* In an episode of ''Series/FoylesWar'', the killer of the [[NeverOneMurder second victim]] is the detective who's taken over the case Foyle was working on, Foyle himself having been unexpectedly suspended on a flimsy charge that comes down to a case of mistaken identity. It turns out that the other detective set him up for a chance to get at his own victim (ItsPersonal), who lives near where the investigation is taking place. Foyle's efforts to clear his own name and get back to work conveniently lead to a EurekaMoment about the other detective.
* Michael in ''Series/BurnNotice'' does this often when he gets hired by the bad guy to find out who is after him (more often than not being Michael himself). One notable one is when he is hired to be a Spy Hunter and pretty much has a blast suitably suggesting it could be him to the mark.
* On ''Series/{{Justified}}'' US Marshal Raylan Givens tends to run into those types of moles. In season one Sheriff Hunter Mosley turns out to be working for a Miami drug cartel and is called in to investigate when his relative botches a hit on Raylan. In season 2 it is an OpenSecret that the Benetts are the biggest marijuana growers in the state and Sheriff Doyle Bennett regularly investigates and covers up crimes committed by his brothers. In season 4, the FBI agent in charge of investigating the Tonin crime family has been on their payroll for years. When Raylan goes looking for fugitive Drew Thompson who disappeared in Harlan County 30 years ago, he is helped by new sheriff Shelby Parlow who not only is reluctantly working for crime boss Boyd Crowder but also [[spoiler: is Drew Thompson]].
* In [[spoiler:the second season of]] ''Series/{{Forbrydelsen}}'', [[spoiler:Lund's new sidekick Strange is the killer]].
* ''Series/FatherBrown'': In "The Standing Stones", the local police sergeant who is aiding the investigation turns out to be the leader of the cult responsible for the murder.
* While not murder ([[SeriousBusiness it's just treated as it]]) or explicitly stated, the possibility ''is'' raised in ''Recap/CommunityS5E03BasicInterglutealNumismatics'' -- the caught Ass Crack Bandit (who drops quarters down people's ass cracks) turns out to be innocent of that crime, and the ending montage implies it could be one of several recurring characters, some of them having been involved with the investigation. The series finale virtually confirms it, pointing to [[spoiler: Annie.]]
* ''Series/TheDoctorBlakeMysteries'': In "The Visible World", the murderer is [[spoiler:Inspector Llewellyn Sullivan of Special Branch]]. He claims to have come to Ballarat to supervise the investigation because of the political sensitivities surrounding the case. He was actually in town to kill Alderton and Hannam to tie up loose ends.
* ''Series/JakeAndTheFatman'': In "You Turned the Tables on Me", the prosecutor appointed to head the organized crime unit turns out to be literally and figuratively in bed with the biggest mobster in town.
* A major ongoing plot in second season of ''Series/NCISNewOrleans'' involves a search for TheMole inside the Department of Homeland Security. TheMole turns out to be [[spoiler:Agent Russo]], the DHS agent placed in charge of the investigation.
* ''Series/{{Vera}}'': In [[spoiler:"Old Wounds"]], Vera investigates a cold case when skeletal remains are found in the woods. The murderer turns out to have been the supervising officer on the original missing person case, who encouraged the investigating officer to do a slipshod job and write the case off as a runaway.
* ''Series/MurderSheWrote'': In [[spoiler:"The Monte Carlo Murders"]], the murderer is revealed to be the police inspector Jessica has been assisting in the investigation.
* ''Series/LawAndOrderCriminalIntent'': In "Broad Channel", Nichols and Stevens investigate the murder of a DirtyCop in an isolated island community. They are forced to work alongside a detective from the DirtyCop's home precinct. This detective turns out to be a DirtyCop himself and the one who orchestrated the murder.

* In the Music/{{Vocaloid}} song [[https://www.youtube.com/watch?v=znir_s4Q9BA "The Riddle Solver Who Can't Solve Riddles"]], the detective (played by Len) initially appears to be unmasking the girl (played by Rin) as the culprit of the murders. However, in the end, the detective reveals himself to be the actual killer.

[[folder:Tabletop Games]]
* The board game ''TabletopGame/{{Clue}}'', possibly (and definitely if you're playing with six players).
** Hilarious in the SNES version, where a cutscene will play out where the winner deduces the killer and the killer gets taken away by the cops while cursing the winner. "Prof. Plum: The killer was Prof. Plum. [...] Curse you, Prof. Plum!". Also, that apparently still counts as a win.
** Mr. Green: I won, I won! I may be going to jail, but I won!

* ''Theatre/TheBat'' reveals in the end that the man who introduced himself to Cornelia in the first act as the detective Mr. Anderson is actually the Bat, who beat up the real Mr. Anderson and tied him in the garage.
* ''The Broken Jug'' (Der zerbrochne Krug) by Heinrich von Kleist is about a judge who is to sit in judgement on a crime he committed himself.
* ''Theatre/ThePlayThatGoesWrong'': Inspector Carter is revealed to be this in the PlayWithinAPlay ''The Murder at Haversham Manor''. Of course, by the time this revelation is made, absolutely no one cares about the plot of the play anymore.

[[folder:Video Games]]
* [[spoiler:Tohru Adachi]] in ''VideoGame/{{Persona 4}}'' turns out to be responsible for the serial kidnappings, two murders, and seven attempted murders.
* [[spoiler:Goro Akechi]] in ''VideoGame/{{Persona 5}}'' turns out to be responsible for the mental shutdowns and psychotic breakdowns, and is TheDragon to BigBad [[spoiler:Masayoshi Shido]]. Apparently in the ''[[Franchise/ShinMegamiTenseiPersona Persona]]'' series, you can never trust a detective [[spoiler:whose name is A--chi]].
* ''Franchise/AceAttorney'':
** The first game:
*** [[spoiler:Manfred von Karma]] ends up prosecuting Miles Egdeworth for the DL-6 Incident. He committed the crime, ''Edgeworth's father's'' murder.
*** [[spoiler:Damon Gant, back when he wasn't the chief of police yet,]] was involved in the SL-9 Incident. He killed Neil Marshall and framed Ema Skye for it.
** ''Trials and Tribulations'':
*** [[spoiler:Luke Atmey]] isn't actually [[spoiler:the thief he was looking for]], but he's the mastermind behind [[spoiler:his heists]].
*** [[spoiler:Furio Tigre]] was Maggie Byrde's defense attorney ''and'' the culprit of the crime she was being tried for. In fact, [[spoiler:he intentionally defended her badly so she would be declared guilty for his crime]].
** ''{{VisualNovel/Ace Attorney Investigations|MilesEdgeworth}}'':
*** [[spoiler:Tyrell Badd, one leg of the Yatagarasu]], who [[spoiler: made sure to be the detective assigned to the Yatagarasu case specifically to destroy any evidence his partners left behind]]. The other two members are [[spoiler:Byrne Faraday (a prosecutor) and Calisto Yew (a defense attorney)]].
*** [[spoiler:Prosecutor Jacques Portsman]] is a member of the international smuggling ring that Interpol is investigating.
*** [[spoiler:Prosecutor Bansai Ichiyanagi/Blaise Debeste]] killed Jill Crane and pretended to be unrelated to the crime.
** [[spoiler:Daryan Crescend]] from Interpol killed another Interpol agent and came up with an alibi to disconnect himself from the investigation.
** [[spoiler:Detective Bobby Fulbright (or rather, a spy who killed the real Fullbright and took his place)]] investigates the murder of Clay Terran while being the culprit himself. [[spoiler:He also killed Metis Cykes several years earlier, another murder you have to solve.]]
* [[spoiler:Scott Shelby (the Origami Killer)]] from ''VideoGame/HeavyRain'', who is [[spoiler:pretending to be a private eye hired by the victims' families so he can get access to and dispose of any evidence that implicates him.]]
* A sub-plot in the ''Series/{{CSI}}'' game ''Fatal Conspiracy'' involves a drug cartel, being investigated by one FBI Agent Huntby. In the second to last case, it's revealed that [[spoiler: Huntby was working for the cartel]].
* The first case of ''VideoGame/NewDanganRonpaV3'' has PlayerCharacter Kaede Akamatsu working with Ultimate Detective Shuichi Saihara to figure out who committed murder. [[spoiler:Kaede is leading Shuichi towards the horrible realization that she was the one who did it in true [[Literature/TheMurderOfRogerAckroyd Roger Ackroyd]] fashion.]]
* In ''Videogame/FalloutNewVegas'', you can assist in an investigation regarding a possible Legion mole within Camp [=McCarran=], the main base of the NCR. You'll eventually learn that the mole is none other than [[spoiler:Captain Ronald Curtis, the very person who assigned you to find the mole and a Legion Frumentarii]].

[[folder:Web Original]]
* In ''WebVideo/DoomHouse'', Officer Cop is initially introduced as the dispatched police officer responding to Reginald P. Linux's 911 call, but he turns out to be the one responsible for the horror Linux is experiencing inside the doom house.
* Played for laughs in the WebVideo/SMBCTheater short [[https://www.youtube.com/watch?v=bMxds0dBILc Homicide Detective]]:
-->"Why, I've been the killer all along [...] But how?"\\
"Remember when you stabbed this guy... five minutes ago?"

[[folder:Western Animation]]
* ''WesternAnimation/DanVs'': In the episode "Dan Vs. Elise's Parents", Dan tries to get Elise's father arrested by manufacturing evidence that he's the head of the mafia. This evidence is enough to convince the police to open their own investigation. The detective they send turns out to be a mole, working for the ''real'' mafia, [[spoiler:whom Elise's ''mother'' is the head of.]]
* ''WesternAnimation/VoltronLegendaryDefender'': Zarkon gives the task of finding the traitor on his flagship to Thace, who is the Blade of Marmora's agent on the ship.

[[folder:Real Life]]
* Dr. Harold Shipman wrote the death certificates for his victims, to make the deaths out to be natural.
* FBI agent Robert Hanssen, who sent enormous amounts of intelligence to the Soviet Union and later Russian Federation during a career as a spy that lasted over twenty years, was at one time head of a task force charged with ferreting out the suspected mole in the FBI--himself. The film ''Film/{{Breach}}'' is based on this story
* FBI agent John Connolly was involved in helping mobster James J. "Whitey" Bulger get away with his crimes for as long as he did. Colin Sullivan in ''Film/TheDeparted'' was loosely based on him, while Frank Costello from the same movie is based on Bulger. ''Film/BlackMass'' is a more direct treatment of Connolly and Bulger's partnership. Connolly is currently in a Massachusetts prison for a 40 year sentence after serving a 10 year sentence in Federal prison. It was partially thanks to him that Bulger was able to escape as a fugitive for as long as he did.
* Kim Philby was head of the counter-espionage section MI6 for two years, while all the time he was a spy for the Soviet Union, and thus charged with stopping himself before he defected.
** Philby and his colleagues blew the cover of several British intelligence officers, one of whom would go on to write spy novels under the name Creator/JohnLeCarre. ''TinkerTailorSoldierSpy'' is a fictionalized version of the whole affair.
* Dennis Rader, the [[SerialKiller B.T.K. Killer]], took a job for the security firm [=ADT=] Security Services shortly after beginning his series of murders. Part of his job was installing home alarms, and they were sometimes touted as helping protect people from B.T.K. He once reported one of his own murders to the police from a phone box just a few blocks from his offices. In addition, during this time he was studying for a degree in Criminal Justice- he wanted a thorough knowledge of law enforcement procedure.