LOUISVILLE, Ky. (WDRB) -- A Leitchfield Police officer was dragged about 20 feet by a truck.

Kirby Sandlin is charged with wanton endangerment.

Police say he was trying to get into his ex-girlfriend's home. When police arrived, they say Sandlin was in his truck. They tried to confront him, but Sandlin kept driving.

An officer reached in to try to shut off the truck. Police say Sandlin sped away, dragging the officer, who is okay.

Sandlin then crashed into a ravine, but ran off, according to police.

Police arrested him later.

Copyright 2016 by WDRB News. All rights reserved.