LOCKPORT – Niagara County Judge Matthew J. Murphy III imposed a two- to four-year prison term Tuesday on a North Tonawanda man who repeatedly violated restraining orders obtained by his ex-girlfriend.

Thomas L. Jay, 42, of Schenck Street, had pleaded guilty to first-degree criminal contempt after being found in the bushes outside the woman’s home May 18.

Murphy said he learned that Jay had been charged with other contempt counts involving the same woman in June and October.

Court-appointed defense attorney Patrick M. Balkin blamed what he called Jay’s “stupid crimes” on the defendant’s alcoholism.