MASON CITY, Iowa (AP) — The Iowa Court of Appeals has upheld the 35-year prison sentence of a Minnesota man for kidnapping and beating a woman last year, but has struck down an order requiring him to register as a sex offender.

Albert Mesenbrink III, of Vadnais Heights, Minnesota, was sentenced last year after pleading guilty to reduced charges of second-degree kidnapping and willful injury.

The Mason City Globe Gazette reports that the appeals court ruled Thursday that a Cerro Gordo County District judge or jury must review and establish whether the kidnapping was sexually motivated, thereby allowing Mesenbrink to be required to register as a sex offender.