A Broward County, FL, elementary school teacher who tried to get revenge against her husband by tipping off drug dealers that they were under investigation should spend the next eight years in federal prison because the consequences of her actions were so serious, prosecutors say.

The undercover investigation was compromised and an insider informant who was secretly working with federal authorities was “outed.” He died of a gunshot wound a short time later under suspicious circumstances that were officially ruled a suicide, prosecutors said.

The defense for Porsha Session, 31, of Boynton Beach, says she acted naively to retaliate against her then-husband — a Lauderhill, FL, police detective who was involved in the investigation — because he was cheating on her, reports the Orlando Sun-Sentinel.

Session told prosecutors she wanted “revenge against her philandering police officer spouse,” according to the U.S. Attorney’s Office. She said she snooped in her now ex-husband’s work email and found memos containing sensitive law enforcement information about the investigation, the suspects and the fact that agents had an informant working inside the group.

Session admitted earlier this year that she made six phone calls to one of the suspected drug dealers and convinced him that an insider was helping law enforcement. She pleaded guilty to federal obstruction of an official proceeding, a grand jury investigation.