Prosecutors claim a former cop applied for a job with the U.S. Drug Enforcement Administration in order to help drug-trafficker friends evade law enforcement.

Fernando Gomez, who is awaiting trial in New York on conspiracy charges, became a DEA agent in 2011 after years of serving as a police officer outside Chicago.

The 41-year-old has pleaded not guilty to conspiring to distribute cocaine and smuggling firearms to members of La Organizacion de Narcotraficantes Unidos, or La ONU, a drug-trafficking enterprise in Puerto Rico.

Law enforcement claim La ONU slaughtered drug rivals and exported hundreds of kilograms of narcotics to New York City.

In a court filing this month, federal prosecutors accuse Gomez of becoming a criminal associate of the gang while he was still in the Evanston Police Department, where he worked between 2004 and 2011.

Prosecutors claim Fernando Gomez applied for a job with the U.S. Drug Enforcement Administration in order to help drug-trafficker friends evade law enforcement

Prosecutors claim that Gomez, who grew up in Puerto Rico, became a close friend of La ONU member Jose Martinez-Diaz.

Gomez is accused of providing firearms to Martinez-Diaz, who, along with several other defendants, is accused of conspiring to smuggle large quantities of cocaine from Puerto Rico to New York.

Gomez also allegedly picked up $45,000 in drug money in the Boston area and transported it to Puerto Rico, receiving $5,000 for his efforts.

Gomez then applied for a job at the DEA in 2010 to allegedly obtain inside information and help the racketeering enterprise evade law enforcement.

'Martinez-Diaz and Gomez decided that Gomez should apply to the DEA in order to better assist Martinez-Diaz,' prosecutors wrote in the filing.

'Gomez said that once he joined the DEA, he and Martinez-Diaz would be 'unstoppable.''

Gomez worked before for the Evanston Police Department from 2004 and 2011, before he joined the DEA

During the DEA's screening process, Gomez informed an investigator that he was 'unaware of any associates having involvement in criminal activities'.

After he got the job as an agent, prosecutors said Gomez divulged the DEA playbook to La ONU, helped drug-traffickers evade law enforcement and even accessed DEA files on the drug ring's behalf.

Gomez was arrested in December at the DEA's Chicago field division.

He is scheduled to stand trial in September in U.S. District Court in Manhattan.