LOCKPORT – Patrick J. Murtha, who served four years in federal prison in the wake of a 1999 cocaine arrest, faces a maximum of eight years in state prison after pleading guilty Thursday to illegally selling prescription painkillers.

Murtha, 37, of Ridge Road, Lackawanna, admitted to attempted third-degree criminal sale of a controlled substance and was scheduled for sentencing May 24 by Niagara County Judge Sara Sheldon Farkas.

Murtha was charged with selling oxymorphone in Cambria June 10 and 11. Murtha said he is 85 percent disabled because of a back injury that he said occurred while moving a 55-gallon drum at work in 2009.