LOCKPORT – Jason W. Lewis, who assaulted a fellow Niagara County Jail inmate in 2011, was sentenced to time served Wednesday in Niagara County Court.

Defense Attorney E. Earl Key said Lewis, 39, of Isherwood Drive, Town of Niagara, already had served 15 months on the charge, which was the minimum state prison sentence County Judge Matthew J. Murphy III could have imposed.

Lewis pleaded guilty to attempted second-degree assault for punching another inmate Aug. 10, 2011.

“I know you thought you had provocation, but you shouldn’t have done what you did,” Murphy told Lewis.