A man allegedly framed by two NYPD detectives for selling cocaine in Queens is speaking out for the first time.

Roosevelt McCoy was held for more than 50 days on Rikers Island before the charges against him were dismissed.

The detectives claimed that McCoy was dealing crack to a woman on 108th Ave. and Guy R. Brewer Blvd. in Jamaica on Aug. 28, 2014.

The detectives claimed they found 7 grams of cocaine in his waistband.

But those claims were false, Queens prosecutors said Tuesday in announcing charges against the officers.

Speaking exclusively to NY1, McCoy on Wednesday recalled the moment one of the detectives searched him and supposedly found the cocaine.

"He went from the back and reached his hands inside my pants. Reaching around my testicles," McCoy told NY1’s Dean Meminger.

Asked what he was thinking about, McCoy continued, "At that point, I’m like I really like,  don’t know what to do at this point. Because first I am supposed to have submitted to a search but I didn't know it was supposed to happen like this."

He continued, “After he finished searching me, he went in also went into the back of my pants, inside my underclothes, felt around. Then after he pulled his hands out of my garments, he put the handcuffs on me. So at that point I asked the officer 'what am I being charged with?' He didn't tell me nothing."​

The charges against McCoy were dropped after McCoy’s attorney presented surveillance camera footage that showed him playing pool inside a bar and restaurant the entire time the two detectives claimed he was outside selling drugs.

The video also showed the detectives enter the restaurant and bar while McCoy played pool and then escort him outside.

Surveillance footage from outside the bar and restaurant shows one of the detectives searching McCoy.