Internal Affairs

""Quis custodiet ipsos custodes?" (English: "Who will guard the guards themselves?")"

The Police Police. More evil than the Big Bad, Diabolical Mastermind or Serial Killer, Internal Affairs is the true enemy of the Cowboy Cop and everything s/he stands for, as they're usually on a crusade to get the Cowboy Cop—who they see as being just as bad as, if not worse than, the criminals he pursues—thrown off the force with all due haste.

As the Cowboy Cop is most often the hero, however, the cops working for Internal Affairs are therefore often characterised as humourless, prissy and self-righteous desk jockeys who have no real understanding of what it's really like out there on the streets—because if they did, then there's no way that they'd get so morally uptight and outraged about the Cowboy Cop's complete ignorance of correct police operating procedure and flagrant disregard for the basic human rights of the suspect. Indeed, a frequent method of Anviliciously highlighting the moral superiority of the Cowboy Cop compared to these cops is to have him or her angrily hiss "What about the victim's rights?" when getting chewed out by Internal Affairs—to which the Obstructive Bureaucrat will of course have no answer whatsoever. In these cases, Internal Affairs seems dedicated to promoting a system of justice which actively protects the guilty whilst forcing the innocent to suffer.

It's not just the Cowboy Cop, though; the entire department seems to loathe the Internal Affairs cops with a passion. This suits the Internal Affairs cops just fine, however, as more often than not they're depicted as complete ball-breaking pricks who aren't interested in being liked by anyone; protecting the integrity of the force is simply more important. Da Chief often has a grudge against these guys as well, as they often overrule his authority and demand that he force the Cowboy Cop to turn in his badge.

Another role for Internal Affairs in fiction is to have one of their officers infiltrate a police station undercover with the intent of exposing some form of corruption, only to gradually form friendships (and even Love Interests) with the cops they are meant to be investigating. This can result in all manner of complications and angst galore when the undercover officer's role is finally exposed.

In the most positive portrayals, these are the cops that a cop protagonist can turn to when they see corruption and cannot stop it themselves. At the end, when the hero has proved his allegation, the IA cops will be the ones who come to haul away the crooked cops with the hero cop standing back, regretting such measures were necessary.

This is, in some ways, Truth in Television, as for obvious reasons there's tension between regular police officers and the regulatory authorities assigned to watch over them in real life (just as tensions exist between police officers and civilians, for much the same reasons). However, the Cowboy Cop and his supporters tend to forget or overlook the fact that the rules and regulations that Internal Affairs so staunchly uphold exist for a reason. Like them or not, without Internal Affairs keeping the worst excesses of police authority and corruption in check, things wouldn't be very pleasant.

Occasionally, this will be subverted by making Internal Affairs right, and the Cowboy Cop actually deserve having to turn in his badge.

A Sister Trope to The Inquisitor General, which is much more common in military settings.

Anime & Manga

 * The Inspectors from Lyrical Nanoha franchise are this for the Time-Space Administration Bureau. Although the fluff claims there are inspectors assigned to each Bureau branch and administrated world, we only see one, Verossa Acous, who is in charge of monitoring the Riot Force 6 in Nanoha Striker S.

Comic Books

 * In Green Lantern, Alpha Lanterns serves as that, having originally been Green Lanterns who've been given robotic implants to better serve the Corp. They're also portrayed as complete jerks.
 * The Special Judicial Service in Judge Dredd perform this function for the Judges of Mega-City One. The Movie gave them a uniform change to include face-concealing helmets and were gunned down in large numbers by Dredd.
 * In the storyline The Pit, Dredd finds himself in this role, sent to clean up what was at the time the worst sector and the worst branch of the Judges in the city, with the Chief Judge unwilling to trust the local SJS. Needless to say, things improved by the time he left.
 * In Powers, a rather friendly internal affairs cop begins investigating Deena, easily the more violent of the protagonist duo, about a suspect's death in a hospital that occurred years ago in the comic. Deena's nervous for an entirely different and much more credible reason: she just murdered her ex-boyfriend in a fit of rage after secretly contracting Contagious Powers.
 * Largely subverted in Gotham Central, since most of the main cast are by the book cops. That doesn't mean they like IAD cops—but IAD are generally shown as honest guys doing an unpleasant job without malice.
 * Largely subverted in Gotham Central, since most of the main cast are by the book cops. That doesn't mean they like IAD cops—but IAD are generally shown as honest guys doing an unpleasant job without malice.

Film

 * Just such a subversion happened in a movie that was unsurprisingly called Internal Affairs.
 * In Lethal Weapon 3, Rene Russo plays an Internal Affairs officer Lorna Cole, who harasses Cowboy Cop Riggs (Mel Gibson) before falling in love with him. Subverted, however, in that Lorna is revealed to be, in her way, even more of a Cowboy Cop than Riggs is.
 * Two words: Dirty Harry. In the first movie, the D.A takes this role, complete with indignant "what about the rights of that little girl?" demand from Harry. In point of fact, Harry's is probably the trend-setter here.
 * What's often missed is that the D.A. is on Harry's side! The D.A. even says how he has kids and wants that scum off the streets but that the law says the bad guy must go free.
 * Then in Magnum Force,
 * The Sylvester Stallone movie Cobra features a stereotypically nebbishy IA cop who angrily challenges Cobra as to whether his decision to execute a couple of criminals holding up a supermarket might have been excessive; Cobra's response is to punch his lights out. Unusually, by the end of the movie even the IA cop has been won over by Cobra's effective method of law enforcement.
 * Not really. Stallone actually punches him at the end of the movie when the IA cop makes a snide comment over how he'd have handled things a bit differently, but "No hard feelings". Stallone: "Sure (WHACK!) No hard feelings, Monty."
 * The Corruptor:
 * In Striking Distance.
 * The Dark Knight comes closest to a subversion, featuring Harvey Dent (currently the District Attorney, but previously in internal affairs) doing his best to clean up the incredibly corrupt police force of Gotham, something that doesn't endear him to Lieutenant Gordon—despite Gordon being one of the very few straight cops on the force. (In the previous movie, Gordon even said "I'm no rat!" despite his partner blatantly extorting money in front of him, though this may be explained by his weary, "Who's there to rat to?") However,
 * Harvey was still a nice guy for most of the movie and a main subversion of this stereotype. The Gotham City Police however, seemed to resent him greatly for his inspecting them (presumably because he put a lot of bad cops away), showing that sometimes it's hard to be liked in this job, even if you're doing the right thing. The cops even gave Dent the nickname
 * Lieutenant Commander JoAnne Galloway is Internal Affairs—because she's a rotten lawyer, so making sure everyone else is doing things right is a perfect fit for her. And when there's a military conspiracy that needs taking down, that's a good combination to have.
 * The film Street Kings actually had the LAPD Internal Affairs portrayed as good guys, or at least totally justified, as the cops they were investigating actually were corrupt. As it turns out, a large portion of the film is actually a Batman Gambit set up by Internal Affairs to try to get the one honest cop in the group to turn on his corrupt partners. The lead Internal Affairs agent even admits that there are uses for a Cowboy Cop.
 * In Insomnia, the main character Detective Dormer has some particularly nasty things to say about the Internal Affairs people hounding him. Of course, they're out to get him because.
 * Max Payne movie has a subversion: Lt. Bravura, who first seems to play the trope straight . Later, though, he
 * In The Man, Samuel L. Jackson's character is a Cowboy Cop who is being investigated by IA after his partner turned out to be corrupt and was killed by a criminal. The IA investigator believes that corrupt cops usually have corrupt partners. He ends up leaving satisfied that he was wrong after the cop returns the money he borred for a sting operation.
 * In Blue Streak, Logan is a thief pretending to be a police detective. When his rookie partner checks out his backstory, he finds out it's fake. Logan takes him aside and pretends to be IA, claiming that the entire precinct is corrupt.

Literature

 * Even compared to the poverty, vampires,homicidal FBI werewolves, necromancers, fallen angels, Eldritch Abominations, and normal thugs Harry Dresden faces, Internal Affairs of the Chicago PD is probably his worst enemy, undermining him at every turn and convinced he's nothing but a charlatan stealing city money... even after his extremely positive track record with the police.
 * And Morgan from the Wardens of the White Council is worse.
 * A.E. Pessimal in Thud! is a thoroughly Pratchettian take on the trope. He's not really investigating misconduct so much as bad accounting and inefficiency. He ends up on the force specifically because of his skills in this department being badly needed...and because he always wanted to be a cop.
 * Also reconstructed beautifully in the same book. Three words:.
 * In the Thursday Next series, SpecOps-1 is Internal Affairs to the rest of the SpecOps network.
 * Internal Affairs play an unusual role in the In Death novels since despite Eve's kneejerk hostility to them, their gestures in the direction of investigating her are perfunctory and they're basically on her side any time someone accuses her of misbehaviour. It may help that an IA guy has a firm case of unrequited love for her.
 * Mainly played straight in Artemis Fowl, but the worst of them all is  Ark Sool
 * Implied in the X Wing Series. Corran and his partner were Space Police, and while their actual affairs guy, having once been active himself, was good about it, their Imperial liaison was unpleasant. As well as being unsociable and tending to frustrate investigations, he disliked Corran enough that when Corran's father was murdered by a Bounty Hunter, the liaison let the murderer walk, saying that the bounty hunter's poor manual dexterity meant it could have been an accident.
 * Not cops, but in Allegiance we see that the Imperial Security Bureau, or ISB (don't you love sinister three-letter acronyms?) serves much the same purpose as Internal Affairs, but for the Imperial military. Their major issue is loyalty to the Imperial cause; rights don't mean much. In fact, they go after a stormtrooper for refusing to gun down unarmed civilians; see, he was disobeying orders and may have been a Rebel sympathizer. Darth Vader doesn't like them, though for reasons involving suspicion and paranoia, not principles.
 * The Auditors are The Laundry's Internal Affairs.
 * In Vorkosigan Saga The Imperial Auditors are Internal Affairs on steroids. Whenever news comes around an Imperial institution that an Auditor was coming everyone shivers. In Memory for instance there is an investigation of the ImpSec(kind of a combination of the FBI, CIA and British SAS in Czarist garb). It is mentioned that there have only been two times an Auditor has had to look into ImpSec, the one time for embezzling and the other time for attempted assassination of the ImpSec chief which is the plot of the book.

Live Action TV
"Brenda: When they shoot back, they're investigated by you. That means they will think twice before defending themselves. That hesitation means more good cops will die. I have to ask - have you ever considered what your principles cost? Raydor: Seventy million. That was the settlement in the Rampart case. One hundred. That's how many convictions were overturned due to renegade policing and lack of oversight in one division alone, not to mention the loss of trust the LAPD needs to remain effective. Brenda: There has to be a better way. Raydor: Well, until then, you've got me."
 * CSI: Miami has issues with Internal Affairs practically every frickin' episode. Including the undercover mole plotline.
 * Every CSI has had a few Internal Affairs episode (though Miami does have the most, and features the most jerkass Internal Affair officer ). Another show part of the CSIverse is Without a Trace, who's also shown that not even the FBI is safe from Internal Affairs, has they have to deal with the OPR (Office of Professional Responsibility)
 * FBI-focused White Collar has a recurring villain in OPR, too, one Agent Fowler.
 * On CSI New York, both Mac and Danny have had problems with Internal Affairs—Mac particularly, as he seems to have something of a problem with people trying to tell him how to do his job.
 * In an episode of Hill Street Blues, an IA officer is sent undercover as a secretary to investigate the Hill Street station. The cops uncover her identity and are severely annoyed.
 * 24 does this all the time, from individuals sent from the Attorney General's office to moles placed by the White House. Some manage to contribute, most are unhelpful, and some end up being revealed as actually working for corrupt, if not terrorist, interests.
 * Every time that Internal Affairs appears in a Law and Order series, they're unhelpful at best.
 * Law and Order Special Victims Unit even had an entire episode wherein The Faceless IA bureaucrats got the story of how main characters "allegedly" beat up a kidnapper to get the location of a missing girl. Perplexingly, Cragen's indignation at Internal Affairs' position that beating up the guy poses a clear violation of even the kidnapper's human rights is presented as being the unquestionably morally righteous position. The episode even ended on a "those two dead people's rights"-style quote.
 * Well, there was merit to that quote. The pimp they were tracking was suspected of kidnapping a fellow cop's daughter, though it later turned out they were involved for a time BEFORE being kidnapped for real. When they rounded up the pimp's hookers in an attempt to get some information, his sleazy lawyer waltzed in almost immediately and stopped them dead in their search. Later, an informant of theirs was able to find the girl, who was on the run from the pimp, but he wasn't able to give them the news in time, as the informant was killed in cold blood and they had the whole thing on camera. The girl was then kidnapped and by the time the detectives got to her, she'd been forcibly overdosed on drugs, and they were only an hour late. They wound up late because when they arrested the pimp, he was demanding an outrageous deal in exchange for the girl, which delayed them several hours.
 * And then there was the case where IA attempted to "disappear" several girls to cover up an anthrax threat. They were only returned after the timely intervention of Olivia and a plucky reporter who exposed their acts to the public.
 * IA tried to use a, justified, shooting to screw Elliot Stabler over. Stabler ultimately decides to resign due to his own guilt over the shooting, he had to shoot a teenage girl to save the lives of the men who raped and murdered her mother, and his unwillingness to jump through IA's hoops. In that case, it also had to do with the fact that Elliot had been reported to Internal Affairs multiple times over the course of the series and had plenty of questionable actions on his file already, so even a justified shooting looked suspicious.
 * Law and Order had a somewhat sympathetic IA detective played by Anthony Anderson in Jesse Martin's last episode. At one point he refers to his two-year assignment to IA being almost up, and the following week, what do you know, he's transferred to Homicide and replaced Martin's character.The Series averted this trope in that while IA were not portrayed as particularly competent, the Detectives had no love or loyalty for dirty Cops
 * Averted in Homicide: Life on the Street as IA Detective Gharty was portrayed as very sympathetic and none of the Cops had a problem turning in Killer Cops. Kellerman's persecution in Season Five was mostly bad luck and the cold treatment Gharty received was based more on apparent cowardice on his part.
 * Characters of this nature often appear on the various Star Trek series. The most prominent example was in the Deep Space Nine episode "Trials and Tribble-ations," where a department known as "Temporal Investigations" scrutinizes Captain Sisko over having traveled through time. These guys soften up at the end and are generally just doing their job, but, as even well-intentioned changes to the timeline can be catastrophic, they need to be hard on everyone. They also lament when Captain Kirk is brought up, who's traveled through time way too often for their tastes.
 * Life On Mars: is an undercover cop assigned to Gene Hunt's unit to expose his corruption and rule-breaking so that he could be replaced with a more progressive superior --
 * And in Ashes to Ashes, we have  who is determined to bring Gene's shady past to light.
 * There was a French TV series whose main characters were a commissioner and an inspector from the French IA; the Inspection Générale des Services men are actually nicknamed "les Boeuf-Carottes" ("beef and carrots", a dish) because they have a tendency to "grill" the people they question.
 * The third season of Dexter has a wildly inept internal affairs officer who is investigating a very mildly corrupt cop, but goes about it in a terrible way. She approaches his partner and asks for her help, gives no reasoning, and assumes she has the partner's assistance and continues harassing the partner. It also turns out she may have an ulterior motive for pursuing the cop (they used to be partners, with another cop who got killed due to a drug addiction which may have been preventable).
 * Calling her inept is a compliment. She shows up completely out of the blue, starts insulting and threatening Debra for doing absolutely nothing wrong, practically stalks her, keeps sending her obnoxious texts, despite on numerous occasions getting the literal response of " STOP FUCKING TEXTING ME," makes wild and incorrect assumptions, and in several cases, actively undermines perfectly legal and effective police work.
 * The first season has Angel torn over reporting to Internal Affairs over an incident regarding Doakes apparently opening fire on a man unprovoked, fearing that the rest of the department will regard him as a rat, as well as being Doakes' friend (and initially trying to get the truth of the matter from him). He does end up providing an incriminating report, but the case is thrown out due to intercession on the basis of national security (Doakes' victim was a former death squad member who he knew from his black ops days). Doakes doesn't end up holding it against him, and threatens a cop who insults Angel.
 * The IOA performs this function in the later seasons of Stargate SG-1 and Stargate Atlantis. Sometimes they're right; sometimes...
 * And one time they actually saved the main characters... by being asses.
 * There's been plenty of run-ins between the detectives of Cold Case and IA, but the most blatant has to be in season 5, where an ongoing arc has one of the detectives feeling major heat from them over whether or not his shooting a suspect during a hostage situation the previous season was by the book. IA was using it screw him over for a previous mistake.
 * Internal Affairs frequently appears on The Shield, and the entire Arc of Season 5 revolves around a particularly persistent IA officer hounding the Strike Team. The show also subverted it with Lt. Jon Kavanaugh. Beginning as a straight, if extremely unconventional, IAD officer, he metamorphosed into a Cowboy Cop himself, with a stop at Large Ham along the way.
 * One episode of the short-lived revival of Dragnet had Joe Friday the subject of an Internal Affairs hearing, with the events told in flashback. In this case though, IAD had a legitimate concern, and Sgt. Friday was honest and non-confrontational. Furthermore, the IAD's investigation is as thorough and professional as Friday's always are and they find the evidence that his actions were completely justified under the circumstances. But then, Joe Friday is the polar opposite of the Cowboy Cop.
 * The above example harkens back to "The Shooting Board", a 1968 Dragnet episode. Friday walks in on an attempted robbery at a self-service laundromat and exchanges gunfire with the thief, wounding him. Things turn bad, though, when the thief turns up dead, the slug from his gun isn't found, there are no independent witnesses, and his accomplice lies that Friday fired the only shot. Throughout, Friday is tense and worried, but isn't hostile towards the IAB officers or the review board, both of whom are sympathetic but professional. In the end, the IAB detectives find the missing slug, leading to a memorable epilogue: Friday, himself, on camera as the narrator reveals the result ("Sgt. Joe Friday: Returned to Duty").
 * There was also the episode in the 1960s version where Friday and Gannon were the Internal Affairs: they were investigating the shooting of a liquor store clerk where the chief suspect was a rookie undercover narcotics officer, who had been picked out of a line-up by an eyewitness. He turns out to be innocent (mistaken identity), and spends most of the episode understandably stressed out and angry at being a suspect at all, but Friday & Gannon never move from their professional yet sympathetic stance.
 * The Australian mini-series Phoenix had Major Crimes constantly butting heads with the Victorian Police internal affairs unit, nicknamed the 'toecutters' (after a notorious Melbourne gang which tortured people by cutting their toes off). Unsurprising as this Ripped from the Headlines series was made at a time when the Victorian police were catching a lot of flack for their methods, especially police shootings (explored particularly in the Law Procedural spin-off Janus).
 * The Wire featured one of the more cynical takes on the role of IA, particularly in the first season. Major Reed, the head of IID, was Deputy Commissioner Burrell's pitbull, preventing Lt. Daniels' detail from pursuing leads that Burrell didn't want them pursuing. It had nothing to do with making sure the police were following the law; it was purely about making sure they were following Burrell's orders.
 * In addition to investigating crimes committed against members of the Navy and Marines, NCIS is frequently those military branches' internal affairs bureau...which doesn't always endear them to the servicemen and women.
 * Done on Saving Grace when Grace ended up with a temporary new partner, Abby. Even thought Abby didn't find anything wrong with the squad, Da Chief was still pissed off, and Ham let rats out at Abby.
 * Apparently averted by Southland. When the rookie cop has to shoot a perp in the line of duty, he's told by his veteran partner to get everything out in the open with IA, who will make sure everything goes okay.
 * Criminal Minds uses elements of this trope when FBI higher-ups investigate Hotchner's conduct when his ex-wife and son were pursued by an elusive serial killer. Subverted in that, while the head investigator is dogged in her questioning and rubs all of Hotch's teammates the wrong way, she turns sympathetic when Hotchner himself relates how.
 * A Third Watch storyline had Fair Cop patrol officer Sasha Monroe revealed as an Internal Affairs detective working undercover to investigate the death (actually a murder) of a suspect responsible for the shooting of another cop. When her deception is discovered, the other cops are so disgusted by her that she is actually left on her own while pursuing a dangerous suspect and nearly killed by him.
 * The Bridge has Internal Affairs being corrupt and going after any cop that the division commander or deputy chief do not like. Their hamfisted handling of two incidents cause the protagonist Frank Leo to call for a walkout and then for him become a candidate for head of the police union.
 * IA investigates a veteran cop for accepting a bribe from a pedophile and the cop kills himself. The IA investigator on the case was actually about to subvert the trope and exonerate the cop fully and is so angry at his superiors that he becomes an ally of Frank.
 * IA tries to pin a murder and numerous robberies on Frank with no real evidence. The death was a clear case of self defense and Frank had nothing to do with the robberies. His union lawyer is so incompetent that he actually let's them get away with making the accusations and thinks that Frank should plead guilty.
 * In the end Frank has to become this trope himself since there really are some very bad cops on the force and as the new head of the union he has to root them out to protect the good ones.
 * Sgt. Martens of NYPD Blue was a rare three-dimensional example. He was zealous, but not to the point of being a caricature. Capt. Fraker, on the other hand...
 * Martens once investigated an officer who had fired his gun and decided the shooting was reasonable given the situation. He later confessed that this was the kind of situation he hated—he knew that the cop, while honest, wasn't really suited for police work, and that, by making him "right" on the shooting, Martens was virtually guaranteeing that there would be more trouble somewhere down the road.
 * The Closer has the Force Investigation Division, headed by Captain Sharon Raydor. Although she and heroine Brenda Leigh Johnson absolutely loathe one another, Raydor is portrayed unusually in that she is not only given redeeming qualities, but is shown to be a skilled and honorable investigator who knows precisely how disliked she and her department are and passionately wishes there was a different way to do things, and Brenda respects her and considers her job a necessary evil. (Raydor and Johnson also work quite well together when they team up for cases.)


 * Starsky and Hutch unsurprisingly plays this one dead straight, with the Internal Affairs officers being presented as unreasonable and unlikable bastards for wanting one of our heroes arrested after his ex-wife is shot dead in his apartment with his gun and stolen property is found in his car. More unusually, in another episode the head of Internal Affairs is actually leading a ring of vigilante cops.
 * In Castle, IA shows up in the form of Lt. Holliwell shows up when a case touches on Detective Esposito's old partner, who it transpires faked his own death under suspicion of corruption, with significant evidence pointing to him being the murderer of the week. Although none of the detectives are exactly Cowboy Cops, naturally Holliwell takes the opportunity to renew his antagonism with Esposito and, in general, the other members of the unit.
 * Captain Victoria Gates, the replacement to Captain Roy Montgomery, was also previously assigned to Internal Affairs, which creates tension with her new subordinates.
 * Strongly subverted with the BBC series Between the Lines centered around the British variant of Internal Affairs—the Complaints Investigation Bureau. The officers are seen as decent individuals performing a total necessary role (in a world where policemen generally are corrupt enough to beat suspects, forge confessions and run their own private businesses.
 * Against the Wall is about a police officer who just joined IA, with the full belief that she can protect innocent police officers. Her family full of cops practically disown her after this.

Tabletop Games

 * In Nomine, by Steve Jackson Games, has the forces of Heaven policed by the servants of Dominic, Archangel of Judgment. Though efficient at their job and sworn to be just, they are perpetually seen as cold-hearted pokerspines by most angels, particularly those who serve Archangel Michael. (Their opposite numbers in Hell, by the way, couldn't be more different.)
 * In Paranoia, IntSec is this to the Troubleshooters (and citizens in general)... and THEY have their own Internal Affairs, which is even more universally hated and feared than IntSec in general.
 * The Inquisition in Warhammer 40,000 serve as Internal Affairs for the rest of the Imperium and for themselves, each Inquisitor has unlimited operational authority and the power to judge when another Inquisitor has lost it.

Video Games

 * Ghost Squad shows the Internal Affairs point of view, with the main characters assigned to such a unit, often infiltrating police stations—and befriending and/or sleeping with corrupt officers before shopping them.
 * As was the earlier Between The Lines. Especially with regards to the 'sleeping with corrupt officers' part.
 * In Mass Effect,  is an Internal Affairs agent for the Noveria Development Corporation, assigned to eliminate corruption. In possibly one of the rarest examples of this trope ever, helping her out with her investigation is the right thing to do.
 * Utterly, utterly worth it to help her remove the annoying, stuck-up executive from the office and made all the more satisfying by the following cutscene. "You have the right to remain silent... and I wish to god you'd exercise it!" Best use of that line, ever.
 * An alternate option is to rat out  to Anoleis, which will result in  . The only reason to do this is for Renegade points.
 * The Spectres are cool enough that they are their own internal affairs department. One goes rogue, the Council sends another to off him.
 * Though despite the name, the NDC's Internal Affairs is not a "police police", but rather a company police.
 * The Seekers of the Chantry fill this role in regards to the Templars in Dragon Age II as one of them interrogates a dwarf in trying to find the Champion of Kirkwall, who may or may not be responsible for the war that caused the Chantry to fall to pieces. The Seekers are, actually, a study of what happens when IA does nothing, or acts far too late.

Web Comics

 * Subverted by Officer McGillicutty, a Guest Character of the Week in Mac Hall. He's told to hand in his badge for being too dangerous, and does the Cowboy Cop fairly straight, even visiting a hooker with a heart of gold. However, The insults they leave him with, combined with his face, kind of make you feel bad for the guy, though.
 * Schlock Mercenary so far had two such organizations. UNS Int-Aff-Int infiltrated Toughs, ran some black ops and were quite ruthless at it, but both times they tried to do their jobs properly and quietly stop really gross operations of another U.N.S. agency, involving experiments on unaware civilians and an unprovoked military attack on a private corporation. Later, Internal Affairs of JSC stepped into an investigation of a political assassination - their officer turned out to be quite sensible, and by the end of an escalating mess played a major role in stopping a coup and mass murder orchestrated by a foreign power to provoke civil war.

Real Life

 * Truth in Television: In David Simon's book Homicide, one of the precinct detectives is investigating a police shooting (which is done by the Homicide department in Baltimore), and ends up completely disgusted almost to the point of retirement to discover the fact that his brother officers peddle the same lies and bullshit as the murder suspects he brings in.
 * This was reflected in Homicide: Life on the Street, which was based on Simon's book; Pembleton is assigned to investigate a similar shooting, but encounters the same kind of dishonesty—and it's further compounded by Giardello, a firm believer in the Brotherhood of the Badge, actively pressuring him to exonerate the cops when it's all but blindingly obvious that they're responsible.