Aided by local police and sheriffs in western Virginia, federal marshals have arrested Deandre Kelly, 29, of Northeast, who escaped from a Maryland jail in January and had been sought on drug charges in the District.

Kelly had been on the run since 2009, according to marshals who had previously issued appeals for help locating him after Kelly skipped a federal hearing in the District for allegedly distributing cocaine.

Kelly was picked up Monday in Bedford, Va. — roughtly midway between Roanoke and Lynchburg. He had been in Lynchburg for about a month and is being held in Roanoke awaiting return to the District, according to Tony Campos, deputy U.S. Marshal with the Capital Area Regional Fugitive Task Force.

Kelly had ties to Silver Spring and the District’s Trinidad neighborhood, information in court cases indicates.

A heightened search for Kelly was launched in January after Kelly pulled a gun on sheriff’s deputies in the Garrett County, Md., Detention Center where he was being held on numerous drug charges and firearms violations.

Jail staff has not explained publicly how Kelly had a weapon inside the facility. Kelly forced deputies to release an exit door, according to accounts of his escape given by Garrett County officials.