SAN ANTONIO, Texas -

A former computer science teacher at a South Texas high school has pleaded guilty in an online child pornography case.

Federal prosecutors in San Antonio say Raul F. Salazar faces up to 20 years in prison when he's sentenced later this year. The 32-year-old educator on Monday pleaded guilty to receipt of child pornography.

Investigators say Salazar resigned from South San Antonio High School last September, a month after federal agents raided his residence.

He had worked for the South San Antonio Independent School District since 2006.

Prosecutors say the child porn was on Salazar's home computers, not on any of his equipment at school.