DES MOINES, Iowa – Police are investigating two Des Moines teenagers for dissemination of pornography for sharing a sex video featuring a female classmate.

Des Moines Police Sgt. Paul Parizek told The Des Moines Register Thursday that detectives are investigating two teenagers for dissemination of pornographic material, but refused to discuss details of the case.

MORE NEWS: Know These Before Moving From Cyprus To The UK

The video involves a female student, and it was shared by one of her classmates, though none of the teens involved were identified by school officials or police.

Des Moines school district spokeswoman Amanda Lewis confirmed that administrators punished a Hoover High School student for sharing an inappropriate video at school about two weeks ago, but also declined to discuss the incident or the discipline, the Register reports.

The case is among the first since lawmakers approved a new “revenge porn” law that went into effect on July 1.

Karen Thalacker, an Iowa attorney and Title IX coordinator, penned a column for the Register earlier this year to explain how teens could get caught up in the law, which is aimed to protecting folks from jilted ex-lovers who post “revenge porn” of their past sexual encounters online.

“Without an Iowa law specifically addressing this issue, the jilted ex had previously had some level of legal protection because the sender had voluntarily shared the message or photo,” Thalacker wrote. “The amendment to Iowa’s harassment law changes that. Under Iowa Code Section 708.7, that same ex now faces a two-year prison sentence if, with the intent to intimidate, annoy or alarm the victim and without the consent of the victim, he or she disseminates, publishes, distributes or posts a photo or film showing the victim in a nude or semi-nude state or engaging in a sex act.

“In other words, it is now illegal in Iowa to share a nude or semi-nude photo with a third party without the person’s consent if the intent was to harm or harass.”

MORE NEWS: How to prepare for face-to-face classes

Thalacker cited a 2015 survey from the non-profit DoSomething.org that shows nearly 40 percent of teens have posted or sent sexually charged messages, and 24 percent of 14- to 17-year-olds have participated in nude sexting. The same survey shows 11 percent of 13 to 16 year old girls have sent or received nude images.

Teen sexting also captured national attention earlier this week with an Associated Press feature about Chicago teen Corey Walgren, who recorded audio of a sex session with a classmate, who later reported the intimate recording to Naperville North High School officials.

Dean Steve Madden called Walgren into his office on January 11, and the teen immediately confessed to making the video, which featured neither student – only audio. Naperville Police officer Brett Heun attended the meeting, as well. He reviewed the video and told Walgren it was child pornography, which is a serious crime that would require him to register as a sex offender, the AP reports.

A few hours later, Walgren jumped from a five-story parking deck to his death.

“They scared the hell out of the kid, and that’s what drove Corey to kill himself,” Terry Ekl, attorney for Walgren’s parents, Doug and Maureen, told the news service.

The family is now suing the school district for $5 million.