WOBURN, Mass. (WHDH/AP) — A 70-year-old convicted child rapist from Massachusetts who was set to be released from custody before being arrested in prison is set to face a judge Tuesday.

Wayne Chapman, 70, is being held on $25,000 cash bail after pleading not guilty to charges of open and gross lewdness and lewd, wanton and lascivious acts last month.

Prosecutors say Chapman exposed himself and masturbated in the view of prison staff at MCI-Shirley.

His arrest came as officials were preparing for his release after two experts ruled he is no longer sexually dangerous.

Chapman was convicted in 1977 of sexually assaulting young boys he lured into the woods. He’s been civilly committed since his prison term ended in 2004.

(Copyright (c) 2024 Sunbeam Television. The Associated Press contributed to this report. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)

Join our Newsletter for the latest news right to your inbox