A married Alabama high school math teacher was busted this week on a dozen sex-related charges — involving three different students.

Ashley Nicole “Nikki” Maddox, 31, who teaches algebra at Chilton County High School, was arrested Wednesday and charged with two class C felonies and 10 class A misdemeanors, Chilton County Chief Deputy District Attorney CJ Robinson said in a statement issued to AL.com.

The probe into Maddox’s alleged behavior started as an administrative matter — but once criminal acts were reported, school resource officers began digging into the case, according to the report. Then the Clanton Police Department launched an investigation — during which other students “disclosed Nikki Maddox had subjected them to inappropriate and illegal sexual contact,” Robinson said.

The charges Maddox faces stem from incidents involving three students, which happened over the past few months, according to Robinson. Specific details of the crimes have not been made public.

Maddox, who lives in Clanton with her husband and son, graduated from Chilton County High School in 2005 and then attended the University of Montevallo, according to her bio on the school’s website. She previously worked as a special education teacher in Chilton and Shelby counties, according to the outlet.

Her charges include two counts of a school employee having sexual contact with a student under 19, two counts of a school employee soliciting a sex act with a student under 19, four counts of a school employee distributing obscene material to a student and four counts of contributing to the delinquency of a minor, the outlet reported.

She was booked into the Chilton County Jail on Wednesday morning and was released after posting $17,500 bond, according to the report. Her next court date has not yet been set.

Robinson praised the efforts of the Clanton Police Department and the Chilton County Board of Education in Maddox’s arrest.

“These are serious offenses and while we pray things like this don’t happen, unfortunately sometimes they do,” he said in the statement. “When the public trust is betrayed, we want to act as swiftly but as thoroughly as possible.”

“The investigators on this case have worked tirelessly to uncover the truth,” he added. “I hope we have found all there is to find. If there are more victims out there, please know that you are not alone and coming forward is the right thing to do. “