Marchese, who was teaching at the school when the offenses occurred, spoke softly as she repeatedly answered “guilty” to reduced charges: two counts of first-degree unlawful restraint, two counts of second-degree reckless endangerment, one count of second-degree harassment and one count of second-degree threatening.

Marchese, now 39, of Madison, originally was charged with second-degree sexual assault and risk of injury to a child. Although the charges were reduced for the plea deal, by pleading guilty to the first-degree unlawful restraint charges, she now has felony convictions and could be deported to Canada, where she is a citizen. This would occur after her release from prison.

The sentencing agreement also provides for Marchese to be listed on the sexual offender registry for 10 years and to be under a criminal restraining order. She will face five years of probation after she serves her prison sentence.

Supervisory Assistant State’s Attorney David Strollo noted there were two victims in the case. Although Strollo did not provide graphic details in court Monday, the police warrant alleged that Marchese called a 17-year-old student into her classroom and performed a sex act on him during school hours. Strollo did note that she locked the door after calling in the teenager, which he cited as the basis for the unlawful restraint charge. After court adjourned, Strollo said another element of the count was “touching him.” He said the encounter occurred in December 2014.

The warrant also stated a 15-year-old student told police Marchese sent him repeated electronic messages in which she allegedly described how good looking he was and that it made it impossible for her to concentrate in class or to sleep. Strollo said Monday that from July 2014 through January 2015, “the defendant inappropriately contacted victim two by computer or phone numerous times despite victim two telling her not to do so.”

Strollo told Cradle the plea deal was reached in consultation with the victims and their families. A half-dozen of the victims’ relatives were in the courtroom Monday afternoon, somberly waiting 90 minutes for the final details of the agreement to be worked out behind closed doors.

Although the family members did not say anything Monday, they will have an opportunity to do so at the sentencing session.

“What we wanted,” Strollo said, “was a substantial period of incarceration, registration on the sexual offender list, a restraining order and a significant period of probation, with conditions to be set by the judge.”

“I think we reached the goals of the victims,” Strollo added. “And neither victim will have to be called to court to testify.”

Defense attorney William F. Dow III noted Marchese entered all her guilty pleas under the Alford doctrine. Under this arrangement, a defendant does not admit guilt but concedes the state likely has sufficient evidence to get a conviction at trial. This sort of plea results in a finding of guilt by the court.

Dow affirmed to Cradle there is sufficient evidence for a jury to find Marchese guilty, with a longer sentence than what she is receiving under the plea deal.

When Cradle questioned Marchese about her agreement to plead guilty, she asked, “You want to avoid the possibility of a longer penalty?”

“Yes,” Marchese replied.

Cradle also told Marchese she could be deported after her prison sentence is completed.

Marchese, who has been free because she was able to post a $100,000 bond after she was arrested in February 2015, came to the courtroom accompanied by two unidentified female companions.

Strollo announced the total sentence as three years and 365 days but said it will be suspended after she serves three years. After court adjourned, he said, “The state believes this is a substantial sentence.”

Strollo said he doesn’t know Marchese’s job status with the Madison school system. After the allegations against her were revealed in January 2015, she was placed on administrative leave. Madison school officials did not return phone calls Monday afternoon to clarify her situation.

Marchese became a teacher at the high school in 2003. She taught English and language arts. She was also an adviser for the yearbook.