A man accused of trying to exorcise the devil from a "Days of Our Lives" star after bursting into his Malibu backyard pleaded no contest to misdemeanor charges of battery and entering private property without permission.

In addition, a judge granted a restraining order sought by actor Drake Hogestyn against Carl Raymond Cheney of Oregon, who entered his plea Wednesday in Los Angeles Superior Court.

Hogestyn, who plays John Black on the popular NBC soap, said in his request for the order that he was on a ladder on New Year's Eve when Cheney ran at his daughter screaming, "'Where is he? I will cast him out.'"

Cheney clutched a Bible while recalling an episode of the soap about demonic possession, the documents state, adding that the intruder also grabbed Hogestyn's wife and pushed her backward.

Hogestyn said he jumped from a ladder and intercepted the intruder.

"I grabbed him by the hair, spun him around, delivered a right cross to the chin that sent him down the stairs," the actor said.

"This sick person Carl Raymond Cheney believed that Satan was in me and that he was the Christ," he wrote.

Hogestyn and his son restrained the man with duct tape until police arrived and arrested him.

After entering his plea, Cheney was released on his own recognizance and ordered to stay with his father. He was also ordered to undergo psychological counseling and take his prescribed medications.

He is scheduled for sentencing on Feb. 6.