A disgraced Wisconsin teacher accused of sexually assaulting her 11-year-old student reportedly sent him more than 33,000 racy text messages — some so graphic that the 23-year-old bowed her head in shame when she was confronted Monday. were read out in open court.

During a preliminary hearing in St. Croix County Circuit Court, attorneys debated whether the evidence supported the 10 charges against Madison Bergmann, including first-degree child molestation, child enticement and multiple counts of sexual misconduct by a school employee.

During the hearing, school resource officer Traci Hall told the court that Bergmann and the victim had exchanged a staggering number of text messages early this year.

Madison Bergmann is accused of sexually assaulting her 11-year-old student and allegedly sending him more than 33,000 racy text messages. Matthew Symons for NY Post

“It was about 33,000,” Hall told the court, adding that the relationship became more sexual and explicit as time went on.

Prosecutor Karl Anderson began reading from the texts, noting that the cases were given an X rating on April 27.

“There is a conversation about the fact that the victim was hard, and whether she felt that during their hug,” he said. “Did she acknowledge that she felt it?”

“Yes,” Hall replied.

“What else did she say?” Anderson asked.

“That she would wear dresses more often because she liked the way he touched her leg,” Hall replied.

“Does Ms. Bergmann ever respond to being sexually aroused in the text messages?” Anderson asked.

“She’s talking about being wet in class,” Hall replied, as Bergmann looked down.

Bergmann taught at River Crest Elementary School in Hudson, Wisconsin. Matthew Symons for NY Post
Attorneys debated whether evidence supported the 10 charges against Bergmann, which included first-degree child molestation, child enticement and multiple counts of sexual misconduct by a school employee. Matthew Symons for NY Post

But the teacher’s attorneys insisted the charges were overcharged, arguing the text messages alone were not enough to support five counts of sexual misconduct.

“There is never any language where she says, ‘I want to have sex with you,’” attorney Joseph Tamburino argued, “or he says, ‘I want you to do this with me.’”

“They talk a lot about kissing, and lips, and cheeks, and touching legs,” Tamburino continued. “They also talk about some sexual issues, obviously about a woman’s body and a man’s body. But there’s nothing like “this is what I want you to do to me,” or “this is what I’m going to do to you.”

A judge disagreed and ruled that the text messages were admissible evidence of Bergmann’s sexual misconduct.

“It is clear to me that the state has fulfilled its burden of finding probable cause that the suspect committed a crime,” the judge ruled in moving the case forward. “Obviously the detective has established probable cause today. The case will certainly go to trial.”

The texts were so explicit that the 23-year-old bowed his head in shame when they were read out in open court on Monday. Matthew Symons for NY Post

Bergmann made headlines in May when she was accused of making out with the fifth-grader weeks before her wedding. Bergmann has pleaded not guilty to all charges.

The teacher’s alleged abuse of the 11-year-old boy came to light when the student’s mother overheard her son talking to Bergmann on the phone, according to the criminal complaint obtained by The Post. Suspicious, the parents checked his phone and reportedly found the salacious text messages between the pair.

The deranged back and forth included messages from Bergmann allegedly discussing multiple encounters in the classroom in Hudson, Wisconsin, during lunch or after school. She allegedly told the child how much she enjoyed him touching her and ‘making out’.

According to the complaint, some of the alleged assaults even took place in Bergmann’s classroom.

A tearful Bergmann sat as the judge took the case to trial. Matthew Symons for NY Post
Matthew Symons for NY Post

The boy’s enraged father stormed into River Crest Elementary School with printouts of the conversations, authorities said.

When police searched Bergmann’s classroom, they reportedly found a folder in her bag with the victim’s name on it. The folder reportedly contained handwritten notes detailing how often they kissed and caressed each other.

An attorney for Bergmann did not return The Post’s requests for comment.