Four days after he was placed on probation for a year, Michael Lannigan began breaching the Oct. 21 court order.
In less than two weeks, he repeatedly violated the conditions, including two incidents where he showed up at places he was prohibited from attending.
One occurred at the Sault Area Hospital on Nov. 4 and resulted in Lannigan being charged with causing a disturbance and committing an indecent act in a public place.
On Tuesday, he pleaded guilty to six charges, including exposing himself to staff and patients in the the hospital emergency room.
Lannigan, 50, was also convicted of four counts of violating probation and a single charge of breaching an undertaking.
Ontario Court Justice Heather Mendes heard he didn't report to his probation officer on Oct. 25, and breached his order by going to Walmart on Oct. 29.
He was on an undertaking not to attend SAH, except for valid medical reasons.
Around 3 p.m. on Nov. 4, city police responded to a 911 call about a man who exposed his genitals several times in the emergency department.
When officers arrived Lannigan had left the facility but they caught up with him on Great Northern Road.
In a news release, following his arrest, police said an investigation indicated the accused "had pulled their pants down and exposed their genitals and buttocks while walking in front of multiple people, including youths."
Prosecutor Adrianna Mucciarelli suggested a four-month jail sentence is appropriate.
Lannigan has a criminal record and some mental health issues, she said, noting he'd never attempted to report to his probation officer where there were resources in place to assist him.
The most aggravating factor is that he committed an indecent act, the assistant Crown attorney said.
"He was going around the hospital, exposing himself to the medical staff and people waiting in the emergency room," not a pleasant experience for them, she told the judge.
Lawyer Eric McCooeye said his client had been released from jail in late October.
"He was not well at the time" and "landed back in custody," the defence told Mendes. "He's so much better today, much more stable and appears to be in a much better place."
Lannigan has made arrangements to attend a 30-day program at Northway Wellness Centre, McCooeye said, asking Mendes to impose a sentence of time served (116 days) "so he can go directly to the centre today."
Mucciarelli said because Lannigan has a bed waiting for him at the centre, she wasn't going to stand in the way over four days, and agreed to time served.
Mendes accepted the lawyers' joint submission, and also placed Lannigan on a further probation order for 24 months. He is prohibited from going to SAH, except for valid medical reasons, and must not harass anyone there.
Lannigan must take any recommended counselling, assessments and programs for mental health issues and sexual deviant behaviour.