BURLEY, Idaho (AP) — A southern Idaho man who was convicted of permanently injuring a baby boy has been released on probation after serving less than a year in prison.

The Times-News reports that 22-year-old Michael Carnes of Burley pleaded guilty last year to felony aggravated battery of the infant. In exchange for his plea, prosecutors recommended that Carnes be sentenced to between five and 15 years in prison, with the chance to be released early if he successfully completed a prison treatment program. A charge of felony injury to a child was also dropped.

On Tuesday, 5th District Judge Michael Crabtree agreed that Carnes had successfully completed the treatment program, and released him on 15 years' probation. He also ordered Carnes to pay about $3,800 in restitution. The boy was 5 months old when Carnes injured him. The baby spent a month undergoing surgeries in a Salt Lake City hospital, and was left permanently blind from the injuries.