A former Brooklyn cop with a history of brutality complaints was arrested yesterday for allegedly spending his off hours working as a pimp. Federal prosecutors are charging Eduardo Cornejo, an 11-year NYPD veteran and former military member, with managing 11 sex workers and ferrying them to and from appointments throughout New York City and in New Jersey and Long Island, sometimes right after leaving his shift as a cop.

"Cornejo not only abused the public trust given to him as an NYPD officer, but he showed no human decency when he facilitated the exploitation of women for profit," said Diego Rodriguez, assistant director of the FBI's New York office, said in a statement. "Police officers, like all public servants, are held to a higher standard, and should not violate the very same laws they are supposed to enforce."

The FBI and NYPD Internal Affairs began investigating Cornejo in 2015 after receiving an anonymous tip late that spring, according to a criminal complaint. Agents say they followed Cornejo for more than half a year as he drove women at night to motels in Fort Lee, Seacaucus, the Bronx, Staten Island, Rockville Centre, and East Meadow, and watched as men arrived and left in succession. In December 2015, they say an undercover agent posing as a john called a number connected with Cornejo, got a quote from a woman of $100 for 15 minutes, $150 for 30 minutes, and $50 extra for "going down," and made an appointment while other agents watched her talking on the phone in Cornejo's vehicle.

The following month, a judge signed off on placing a bug in Cornejo's car. With that hidden microphone, the feds allegedly caught Cornejo sweating potential law enforcement attention, saying in his car, "That might make it hot though, standing outside with a bunch of girls...[Cops] are going to know what’s up real quick."

Cornejo was fired around that time after failing a random drug test, according to an NYPD spokesman. He had started work at a Nissan dealership by the time of his arrest. The Daily News reported that he was arrested for trespassing at Citi Field in 2012 after moving to a better seat and refusing to leave when challenged by security.

His brother told the New York Post he was being framed: "He’s always been a good guy, he’s former military," the brother said, declining to be named. "I don’t know where all of this stuff came from."

Cornejo's estranged wife is an NYPD sergeant. His lawyer said he has $23,000 in credit card debt, that he and his wife have been separated for 14 months, and that he has been living with his parents. The law he is accused of violating carries as many as 10 years in prison.

Cornejo has been named in four federal civil rights lawsuits in recent years. The lawsuits accuse Cornejo of false arrest, baseless strip searches, and beatings.

In one case, he is accused of being one of several officers who blocked a man from filming as other cops beat his brother in Bedford-Stuyvesant in 2014. Cornejo allegedly arrested the man recording as others cuffed and beat the man's brother. Both arrestees later saw their charges dropped, according to the lawsuit, which is still pending.

In another suit, Cornejo is accused of stopping a teen walking in Flatbush without any cause, then searching inside his underwear and, upon finding nothing, breaking his tooth with a hard slap to the face before sending him on his way. The city settled that suit for $5,000, court records show.

The city settled a third suit stemming from a 2013 incident in Bedford-Stuyvesant for $70,000. The lawsuit claimed that Cornejo and two other officers in plainclothes pulled up on a man named Keith Squires in an unmarked car, searched him without cause, beat and arrested him, then strip-searched him. Despite finding no evidence of illegal activity, Cornejo swore out a complaint charging Squires with crack and marijuana possession, causing him to be held for several months in Rikers Island on an alleged parole violation until the charges were dropped, according to the suit.