The former high school teacher who was indicted for sexually assaulting a number of students at a Maplewood, NJ high school has refined her defense: She has a brain condition that led her to her criminal behavior.

Nicole Dufault's attorney, Timothy Smith, told NJ.com that "she suffers from 'frontal lobe syndrome,' a condition that experts have said is associated with socially inappropriate behavior and the inability to control impulses, among other symptoms.

"Ms. Dufault suffers from frontal lobe syndrome which has rendered her defenseless to over-aggressive behavior, and that is exactly what she was exposed to," Smith said in a statement to NJ Advance Media.

"Such will be our defense to a number of counts to the indictment," Smith added. "The remaining counts are either legally deficient or resulted from opportunistic tendencies."

Smith said in a brief phone interview on Tuesday that Dufault's syndrome stems from brain surgery she underwent following complications due to her first pregnancy. During that surgery, a shunt and the related apparatus was installed in Dufault's brain, Smith said.

In 2004, Law & Order Special Victims Unit had an episode, "Head," which featured a school principal sexually assaulting a student—and it turned out she had a brain tumor. In 2009, a contributor to Psychology Today wrote, "Morality can be disrupted by brain damage just as the ability to speak is compromised by a stroke. In that sense, brain disorders may contribute to immoral acts including violent crimes. Yet, moral behavior is a fundamentally social attribute, just as speech is. It has to be learned which requires both a normal brain and relevant experiences. Once learned, it is remarkable resistant to brain disorders."

The Essex County Prosecutor's office offered this statement, "All too often victims of sexual abuse are demonized by their abusers. It takes a tremendous amount of courage for a victim, especially a juvenile victim, to come forward knowing the stigma some in society place on victims of sexual abuse. We continue to prepare for trial so our juvenile victims may find the justice they are seeking."

Dufault, 35, has two children.