Police searching a motel room in Jackson found thousands of pills with a street value of $171,000.
State police said the Jackson police conducted a routine traffic stop near the Jackson Inn on Thursday and gathered information that led them to a room there.
State police said in a news release that they and Jackson police did a "consent search" of the room and found more than 4,500 Schedule I pills, or those that the government considers to have no medical value, and more than 1,500 Schedule IV pills, which are considered to have a lower potential for abuse under federal regulations.
Jackson police arrested Tedrick Little Jr., 37, of Quicksand on a warrant out of Perry County.
Little was being held in the Three Forks Regional Detention Center.
The case is to be presented to a Breathitt County grand jury.