James Casimiro, III, 37, of Ranson, W.Va., was sentenced to six months in prison for the distribution of oxycodone.
The former assistant county prosecutor admitted to obtaining the painkillers from a cancer patient and then selling them for profit.
Officials say the investigation involved the use of a confidential informant who made purchases of oxycodone tablets from Casimiro in May and June of 2013, a time period during which he was still employed as a prosecutor.
This case was investigated by the FBI and the Eastern Panhandle Drug & Violent Crimes Task Force.
Copyright 2015 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.