Follow CBSDFW.COM: Facebook | Twitter

SHERMAN (CBSDFW.COM/AP) — An ex-principal at a North Texas elementary school has been sentenced to 10 years in prison after being arrested at a shopping mall for trying to solicit sex from someone he thought was a 16-year-old boy.

READ MORE: 19-Year-Old Tello Hernandez Faces Intoxication Manslaughter Charge Following Fatal Crash 

Federal prosecutors say 47-year-old Oscar Figueroa of Carrollton was sentenced Monday in Sherman for child exploitation. He was convicted by a federal jury in April for attempting to coerce and enticement of minors.

A Frisco police online sting last July led to Figueroa. Officers noticed a Craigslist advertisement about a person seeking a young male for sex.

READ MORE: Homeowner Terry Duane Turner Charged In Slaying Of Motorist Adil Dghoughi In His Driveway

An undercover officer posing as a 16-year-old boy contacted Figueroa, they exchanged texts and agreed to meet at a mall.

At the time the crimes were committed Figueroa was the principal at Viridian Elementary School, which is in the city of Arlington but part of the Hurst-Euless-Bedford Independent School District.

Figueroa resigned after he was arrested.

MORE NEWS: Dallas Neighborhood Crime Spike Has Many Questioning, 'Is Uptown Going Downhill?'

(©2016 CBS Local Media, a division of CBS Radio Inc. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)