LOUISVILLE, Ky. (WDRB) -- Police say a Louisville suspect who tried to rob another man at gunpoint got more than he bargained for when the victim pulled a gun of his own.

Deontae Dobson, age 23, faces several charges, including robbery and wanton endangerment.

Police say last Sunday, he and another man pulled a gun on the victim -- but the victim pulled out his own gun and shot the other suspect.

Police say Dobson and his accomplice ditched their gun in the garbage behind a liquor store.

Officers say they later found marijuana and several white pills in Dobson's car.

Dobson pleaded not guilty, and his bond was set at $50,000.

Copyright 2018 by WDRB Media. All rights reserved.