WISCONSIN RAPIDS - A former Norwood Health Center nurse's aide caught having sex with a brain-injury patient inside a restroom was sentenced Monday to six months in jail.

Courtney R. Brockman, 23, of Marshfield also received three years of probation for second-degree sexual assault of a patient at a treatment facility. Wood County Circuit Judge Todd Wolf gave Brockman work release with her jail sentence but ordered her to have no contact with her victim and not to be employed in any work with people with disabilities.

Brockman's employmen at the county-run facility ended March 26, said Kim McGrath, Wood County human resources director. Brockman's official title was mental health technician, McGrath said.

RELATED: Can Jake Patterson get a fair trial in the explosive Jayme Closs case?

RELATED: Public safety: Boy left out in subzero temperatures

According to court documents:

A female Wood County deputy was working at the Wood County Annex, which is in the county complex at Norwood Health Center in Marshfield, when she decided to use the restroom. The deputy noticed someone inside one of the bathroom stalls, which she thought was suspicious because the lights were turned off.

The deputy asked the woman in the stall if she was all right, but there was no response. The deputy became concerned, knocked on the door and again asked if the woman in the stall was OK. This time, the woman said she was all right. The deputy could tell from the placement of the woman's feet that she was not using the toilet.

The woman came out of the stall carrying a cellphone and left the room. The deputy felt uncomfortable with the situation and returned to the squad room. About 20 minutes later, the deputy returned to the bathroom, where she saw the same woman leaving the same bathroom stall.

The deputy opened the stall door and saw a man hiding inside. The deputy interviewed the man and learned he was a resident of Norwood and had a brain injury.

The deputy identified the woman as Brockman. At first Brockman and the man both denied any sexual activity was happening between them.

Investigators learned the man had a guardian assigned to him. They checked his cellphone and saw he and Brockman had been communicating on various social media sites.

Investigators saw from the communications that Brockman and the patient had been involved in numerous sexual encounters in February and March. The messages included plans for sexual activities in bathrooms at Norwood.

Investigators again interviewed the patient, who admitted to having sexual contact with Brockman.

Brockman said she had been having personal problems in her relationship with her fiance and had been talking to the patient about her problems and at first used him as a sounding board before the relationship "developed into more."

The patient under guardianship was not legally able to consent to sex.