Craig E. Walek, 50, of Milton Lane, Clarence, was sentenced Monday to 23 years in prison for several felony sex crimes against an underage girl.
The former state traffic engineer previously pleaded guilty to two counts of using a child in a sexual performance, second-degree criminal sexual act and two counts of second-degree rape.
When Walek admitted the crimes in February, State Supreme Court Justice Penny M. Wolfgang cited an agreement between defense attorney John R. Nuchereno and the prosecution, reached during plea negotiations, for the 23-year prison sentence.
The crimes to which Walek pleaded guilty happened between August 2006 and October 2007, when the girl was as young as 14.
Walek had faced 45 charges after his arrest in December.