An inmate who escaped during a visit to a western Kentucky dentist is back in custody.

Kentucky State Police say 42-year-old James Savage of Louisville was at a dentist's office in Greenville just before 9:30 a.m. CST Tuesday when he went out a back window and fled on foot.

Savage was in the Muhlenberg County Detention Center awaiting disposition of charges including first-degree robbery, first-degree wanton endangerment, second-degree unlawful imprisonment and violating parole. Police say he was also wanted for second-degree escape.

The Messenger-Inquirer of Owensboro says Greenville police report that an officer saw someone walking through town acting suspiciously and approached him. Police say Officer Tommy Fauntleroy determined it was Savage, who was wearing bib overalls and had a hat pulled down low.