A 37-year-old Mexican man convicted of indecency with a child in Dallas was arrested by U.S. Border Patrol agents after he tried to illegally enter the U.S. this week, the agency said.

Juan Murillo-Gomez was detained Wednesday by Eagle Pass Border Patrol agents near downtown Eagle Pass, the agency said in a news release.

Juan Murillo-Gomez (U.S. Customs and Border Protection)

"The security of our border is our primary mission, and apprehensions like this help to keep our communities safe," Del Rio Sector Chief Patrol Agent Felix Chavez said. "Our agents will remain vigilant and alert to protect the American society against dangerous criminals."

Dallas County court records show Murillo-Gomez was convicted of indecency with a child by contact under the name Juan Gomez Aquirre.

He was initially given probation but was sentenced to two years in prison in 2010 after he didn't pay fines and fees, didn't perform community service and failed to be evaluated for alcohol and drug addiction, as well as take English as a second language classes.

He was deported in 2013 after finishing his prison sentence.

The victim was 13 years old.

Murillo-Gomez was previously detained in Houston in 2009 and charged with re-entering the country illegally, the news release said.

This time, Murillo-Gomez faces a charge of re-entering the country illegally after being deported. If convicted, he could spend up to 10 years in prison.

Eagle Pass is just across the border from Mexico and about 145 miles southwest of San Antonio.

Ten pounds of meth found Wednesday by a drug dog near Del Rio. (U.S. Customs and Border Protection)

Also, on Wednesday in a separate incident, Del Rio Border Patrol agents found more than 10 pounds of methamphetamine near the Highway 277 checkpoint, the agency said. A drug dog found eight individually wrapped packages with a street value of nearly $50,000 after agents were told of "suspicious activity" in the area.

Del Rio is about 60 miles north of Eagle Pass.