A convicted child rapist was arrested just minutes after being released from a hospital after threatening to “rape the first woman he sees,” according to police.

John Mark West, 38, was being held in a hospital for a mental health evaluation following a disorderly conduct arrest in Hope, Arkansas, last month.

The local sheriff then took the extraordinary step of releasing a public warning just before the predator — who was previously convicted of raping a 4-year-old — was released Monday.

“He is telling the hospital staff that he will rape the first woman he sees,” the Hempstead County Sheriff’s Office said in the warning, also posted to Facebook.

“West reported that he has previously had command hallucinations that told him to rape a woman.”

West was instead arrested almost immediately after leaving the hospital, Sheriff James Singleton again shared on Facebook.

“He has a history of several criminal charges. I’m glad we’ve got him in custody,” Singleton told the Texarkana Gazette of the homeless man.

“It was a firestorm Monday with people upset he was here.”

West was arrested for the initial charges from last month but law enforcement officials are reviewing other possible charges, the sheriff said.