CUSHING, Maine — A 57-year-old convicted sex offender who admitted to a counselor that he fantasized about sexually assaulting a neighbor’s child is back home after spending several weeks in jail.

An upset Knox County sheriff is advising people to be vigilant.

“This is kind of scary. He should have had more time revoked,” Sheriff Donna Dennison said Monday.

Robert McIntyre was arrested Sept. 26 on a request by his probation officer. The probation hold order came after McIntyre met with a counselor on Sept. 25 in preparation for a mandated annual polygraph test. In the interview with the counselor, McIntyre admitted watching a young girl and boy next door and fantasizing about sexually assaulting the girl.

McIntyre then refused to take the polygraph test, which the probation officer argued violated his probation terms.

On Nov. 5, McIntyre admitted to violating his probation for being suspended from the sex offender treatment center after refusing to take the polygraph test. Justice Daniel Billings ordered that McIntyre spend 60 days in jail for violating his probation.

The Cushing man was released from the Knox County Jail on Nov. 20, after being held there since his Sept. 26 arrest.

Assistant District Attorney Jeffrey Baroody said the state had asked for McIntyre to serve an additional six months while the defense had sought less than 60 days. McIntyre was represented by attorney Jeremy Pratt.

Baroody said he is aware that the probation officer is increasing supervision of McIntyre. A telephone message left with the probation officer Monday was not immediately returned.

McIntyre was given a suspended jail term in 1994 for sexually assaulting a child. The sentence was suspended because the court ruled McIntyre was intellectually disabled.

Five years later, he was arrested and ultimately convicted in Knox County Superior Court for kidnapping and sexually assaulting a woman. In that July 1999 case, he hid in the back of the victim’s car as she visited her father’s grave. When she got back in the vehicle, McIntyre put a knife to her throat and forced her to drive to a field where he sexually assaulted her.

Justice Stephen Perkins sentenced McIntyre in 2000 to 20 years in prison with all but 10 years suspended. He also placed McIntyre on probation for six years.

In March 2013, Cushing residents adopted an ordinance restricting where convicted sex offenders could live. The law, however, did not cover people who already were living in town.

Sheriff Dennison said Monday she is aware that the community is concerned about sex offenders living in town. She urged people to telephone the department if anyone sees him near children or doing anything suspicious.

The sheriff said Detective Justin Twitchell contacted several homeowners on either side of McIntyre’s residence. He said they were aware of McIntyre and his past. The detective also asked these residents to notify other residents in the neighborhood who were not home when he went to notify them.

“This is a case that borders on a person being punished for their thoughts and I find that a slippery slope to head down,” defense attorney Pratt said. “Other states have civil commitments for sex offenders who are deemed to be a risk to society. If Maine wants to do that then the Legislature should enact a law to that effect.”

McIntyre has nearly 10 years remaining in his original sentence that he could be ordered to serve should he violate probation.