A New York Police Department officer was caught with $50,000 in drug cash which federal authorities say she obtained while helping her boyfriend run a heroin trafficking ring that spanned from Mexico to New York.

Prosecutors say 31-year-old Yessenia Jimenez was arrested Tuesday on trafficking and weapons charges, with officials saying they turned their apartment into a drug stash house.

A Drug Enforcement Agency official says an agent arrested Jimenez with $50,000 and her NYPD service weapon in her possession.

Prosecutors say 31-year-old Yessenia Jimenez was arrested Tuesday on trafficking and weapons charges

Officials allege that Jimenez and her boyfriend, Luis Soto, turned their Bronx apartment into a drug stash house

Prosecutors say a months-long investigation into heroin trafficking led them to Jimenez and her boyfriend, 34-year-old Luis Soto.

The couple live together in an apartment in the Soundview section of The Bronx.

The NYPD says Jimenez has been suspended without pay.

She joined the department in 2015.

NYPD Commissioner James O'Neill said in a statement the arrest and allegations are troubling.

Prosecutors say a months-long investigation into heroin trafficking led them to Jimenez and Soto

The DEA first learned of Jimenez and Soto in January, when authorities seized over $70,000 in cash from a suspected drug dealer in Queens

'Cops are charged with enforcing the law, not breaking it,' the commissioner said.

'Today’s arrest - for serious allegations of trafficking heroin - are troubling.'

Jimenez declined to comment.

The DEA first learned of Jimenez and Soto in January, when authorities seized over $70,000 in cash from a suspected drug dealer in Queens.

A search of the suspect's cell phone revealed the phone number of a person authorities say is a known drug trafficker in Mexico.

The text messages from the Mexican contact contained the phone number of another alleged co-conspirator, Soto.

One of the text messages from the Mexican contact read: '‘con el 7 de parte de Rodolfo.’

This is translated as 'with the 7 from Rodolfo.'

The DEA alleges that the suspect from Queens was being told to contact Soto in order to pick up $70,000 in cash.

A search of the suspect's cell phone revealed the phone number of a person authorities say is a known drug trafficker in Mexico. The text messages from the Mexican contact contained the phone number of another alleged co-conspirator, Soto

The DEA alleges that the suspect from Queens was being told to contact Soto in order to pick up $70,000 in cash

After federal agents learned of Soto's identity, they conducted surveillance operations outside of his Bronx apartment.

During the course of their investigation, they learned Soto was living with Jimenez, who was working as an officer for the NYPD.

The government alleges that Soto drove from New York to Massachusetts and back.

Upon his return to New York at around 2:00am on Tuesday, agents approached Soto as he was removing plastic bags from his car.

Investigators say they found a total of $50,000 in cash as well as a loaded Glock Model 19 handgun, which was issued to Jimenez by the NYPD.

Agents detained Soto, who acknowledged that he had picked up the cash in Massachusetts, though he did not say what it was for, according to the arrest report.

Hours later, agents searched the couple's apartment, where they found about 250 grams of a white substance that the government alleges is heroin.

Both Jimenez and Soto were charged with conspiracy to distribute heroin, possession of heroin, possession of at least 100 grams of heroin with intent to distribute, and using and carrying a firearm in relation to their heroin trafficking.

If convicted, both face a maximum sentence of life in prison.