Two New Orleans men pleaded guilty this week to charges stemming from a raid on a Central City drug house after one of the defendants beat a confidential federal informant with a rock and stole federal drug sting cash.

Kentrell Anderson, 35, pleaded guilty Tuesday to five heroin and cocaine charges along with armed robbery and resisting an officer.

Criminal District Court Judge Robin Pittman sentenced him to 15 years in prison.

Al Sanson, 58, also pleaded guilty Tuesday, copping to three drug counts and a charge of being a felon in possession of a weapon. He also received a 15-year sentence.

A co-defendant, Oneal Ford, pleaded guilty to a drug charge and received a seven-year sentence.

Sanson and Anderson were targets of a drug probe dating to early 2012, led by the Multi-Agency Gang Unit. They were suspected of taking part in a major drug trafficking ring out of a house in the 1500 block of South Robertson Street, according to a news release from the federal Bureau of Alcohol, Tobacco, Firearms and Explosives.

Agents employed a confidential informant to attempt a drug buy on Feb. 11, 2014, but the informant was met with violence when Anderson beat him with a rock “and proceeded to take ATF funds” from the informant.

The ATF news release doesn’t say how much money was taken.

Sanson’s attorney, Tom Shlosman, said his client didn’t take part in the robbery, and Sanson was not charged with it.

Shlosman said ATF agents broke into the house after the informant was robbed.