A former St. Clair County elementary school teacher was denied probation today.

Circuit Judge Phillip Seay sentenced Ashli Gilley, 32, to serve 10 years in prison for each charge, to run concurrently. In March, Gilley pleaded guilty to two counts of a school employee engaging in a sex act with a student under the age of 19, with the individual counts dealing with different students. The victims were 15 and 18.

The probation hearing was held today. St. Clair County District Attorney Richard Minor said at the time of the guilty plea the state would oppose probation, which it did.

Gilley taught language arts at Williams Intermediate School. The wife and mother of two young children taught at Williams for six years. She has been a teacher for eight years, but now has surrendered her license.

She was first arrested in April 2015. Authorities said the sexual conduct happened over a period of time. School officials learned of the incident and summoned lawmen. St. Clair County District Attorney's Office and Pell City Schools Superintendent Michael Barber worked closely with detectives on the investigation. The reported sex act didn't happen during school hours or on school property, school officials said at the time.

Authorities said Gilley apologized for her actions in court today. She is scheduled to begin serving her sentence on Monday, Minor said.