LOUISVILLE, Ky. (WDRB) -- Louisville Metro Police say they've arrested a man after he attempted to purchase a half-kilo of powder cocaine for $18,000.

According to an arrest report, he got more than he bargained for when he unwittingly made the agreement with an undercover detective.

Police say 31-year-old Russell L. Farris agreed to purchase the 1/2-kilo of powder cocaine for $1,000 an ounce -- a total of $18,000. When police searched his vehicle after a traffic stop, they allegedly found a "large amount" of crystal methamphetamine and a .357 handgun.

Police say Farris agreed to allow officers to search his hotel room. According to the arrest report, that search yielded two more guns, marijuana and drug paraphernalia.

Farris was arrested in the 11000 block of Shelbyville Road, near Evergreen Road, just after 9 p.m. on Thursday. He's charged with trafficking in a controlled substance (cocaine) with a gun, trafficking in a controlled substance (methamphetamine) with a gun, possession of marijuana and possession of drug paraphernalia.

He's currently being held in Louisville Metro Corrections.

Copyright 2017 by WDRB News. All rights reserved.