(Getty Images.)

(CNSNews.com) -- Two illegal aliens who had previously been convicted of sex crimes in the United States were captured by U.S. Border Patrol agents on Friday in Arizona. Both of the criminals were in this country illegally.

On Oct. 12, according to U.S. Customs and Border Protection (CBP), Border agents arrested Mexican national Alejandro Ramirez Santiago, 36, near Ajo, Ariz., after he had illegally crossed the border.

"When agents conducted a records check on Ramirez, they learned he had been convicted in Texas of sexual assault and sentenced to three years confinement in 2006," stated the CBP in a press release.

Also on Oct. 12, Border agents captured Salvadoran national Santos Ayala-Alfaro, 42, near Ajo, who was in the country illegally.

(Getty Images North America.)

"During processing, agents discovered that Ayala has been previously convicted in Kings County, Washington in 2008 for possession of cocaine, in 2009 for manufacturing and dealing a schedule three narcotic, and in 2012 for rape, assault, and harassment," reported the CBP. "Ayala was sentenced to a combined 123 months confinement for his crimes."

Both of the alien criminals are being held in federal custody "pending prosecution for criminal felony immigration charges," said the CBP.