NORRISTOWN, Pa. (AP) — A judge has ruled that Bill Cosby is a “sexually violent predator.”

The classification means that Cosby must undergo lifetime counseling and report quarterly to authorities. His name will appear on a sex-offender registry sent to neighbors, schools and victims.

READ MORE: Vikings Assistant Head Coach Mike Pettine Leads Coaching Diversity Workshop

Judge Steven O’Neill made the decision Tuesday as he prepares to sentence the 81-year-old comedian for drugging and molesting a woman at his suburban Philadelphia home in 2004.

READ MORE: Baby Formula Shortage: Biden To Invoke Defense Production Act (CBS NEWS)

Prosecutors are asking for five to 10 years in prison. The defense wants Cosby sent home on house arrest.

Cosby’s lawyers had fought the “sexually violent predator” designation, arguing that Pennsylvania’s sex-offender law remains unconstitutional despite several revisions.

MORE NEWS: Authorities Searching For Man Who Escaped From Northern Minnesota Prison

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)