A former Uber driver from Holliston charged with sexually assaulting a passenger was taken into custody by ICE agents after pleading not guilty.

Bail was set at $3,000 for Jose Arevalos-Avalos after entering his plea Monday to charges of indecent assault and battery and attempting to pay for sexual conduct. But immigration officials said he is being held and faces deportation.

The woman told Ashland police she was getting a ride to work on Friday when her Uber driver offered her $100 for sex. Police say the 37-year-old Arevalos-Avalos groped the woman after she refused. Uber helped police identify the driver through the woman’s Uber app.

An attorney for Arevalos-Avalos says his client has given thousands of rides for Uber without any issues.

An Uber spokeswoman called the allegations “deeply upsetting” and says Arevalos-Avalos has been banned from the app.

John Mohan, spokesman for the Boston office for Immigration and Customs Enforcement, said federal agents have already taken Arevalos-Avalos into custody.

“On Feb. 11, ICE officers arrested Jose Hector Arevalos-Avalos, 37, an illegally present citizen of El Salvador, in Ashland, Massachusetts, on immigration violations after he was released from local custody on bail. ICE will seek to effect Arevalos-Avalos’ removal following resolution of the pending criminal charges against him,” Mohan said in a statement.

An ICE official said an immigration judge issued Arevalos-Avalos a final order of removal in 2010 following his conviction for possession of cocaine with intent to distribute. He was kicked out of the country a year later.

He re-entered the country at some point thereafter, and in 2013, was convicted of illegal re-entry and sentenced to 13 months in federal prison, the official said.

“He has been free from ICE custody on an order of supervision since his release from federal prison,” the official said. “However, due to the latest charges pending against him, ICE has deemed Arevalos-Avalos a potential public safety threat and revoked his order of supervision. He is currently in ICE custody, pending removal.”