A Buffalo man was sentenced Wednesday by Chief U.S. District Judge William M. Skretny to 57 months in prison for selling prescription pills.

Assistant U.S. Attorney Michael McCabe said Deshawn McLorn distributed about 1,000 Oxycontin tablets at a location on Strauss Street in Buffalo in 2009 and 2010.

McLorn is the last of 34 defendants arrested and convicted as part of a long-term investigation into the illegal sale of prescription drugs in Buffalo and its eastern suburbs.

The sentencing is the result of an investigation by the Drug Enforcement Administration, New York State Police and Buffalo, Cheektowaga, West Seneca and Lancaster police.