A 25-year-old man linked by DNA evidence to a sex act against a six-week old infant was sentenced Wednesday to 20 years in prison, the Erie County District Attorney’s Office announced.

Jason Salois, no address available, was also ordered by Erie County Judge Kenneth F. Case to spend 10 years on post-release supervision.

Salois had pleaded guilty to first-degree criminal sexual act. He had faced a maximum prison term of 25 years.

Salois admitted to sodomizing the infant on Jan. 4, the District Attorney’s Office said.

District Attorney Frank A. Sedita III credited the Buffalo Police Department’s sex offense squad and the Erie County Central Police Services Forensic Laboratory.

“Because of their efforts, one of the most revolting sex crimes in recent memory was solved and a depraved deviant brought to justice.”