Immigration agents in California on Wednesday detained a man who was accompanying his pregnant wife to the hospital to deliver a baby, saying he had an arrest warrant for homicide in Mexico.

Maria del Carmen Venegas said she had to drive herself to the hospital for a scheduled Caesarean section after her husband, Joel Arrona Lara, was taken into custody by Immigration and Customs Enforcement (ICE) agents, the Associated Press reports.

“My husband needs to be here,” Venegas told CBS Los Angeles after giving birth to a baby boy. “He had to wait for his son for so long, and someone just took him away.”

The couple was approached by ICE agents asking to see identification when they stopped at a San Bernardino gas station on their way to the hospital Wednesday, Venegas told CBS. Venegas showed her ID when asked, but the couple reportedly told the ICE agents that Arrona did not have his with him. The agents then searched the couple’s car and took Arrona into custody, Venegas told CBS.

Venegas, who can be seen sobbing in gas station surveillance footage, confirmed that her husband, who is from Mexico, has been living in the U.S. illegally for 12 years, according to AP.

ICE representatives confirmed in a statement provided to TIME that Arrona had been taken into custody, and that agents were confident Venegas — who they said was driving prior to the gas station stop — could take herself to the hospital.

“Mr. Arrona-Lara, a citizen of Mexico illegally residing in the United States, was taken into custody Wednesday by ICE Fugitive Operations Team officers in San Bernardino, Calif,” the statement reads. “Mr. Arrona-Lara is currently in ICE custody pending removal proceedings with the Executive Office for Immigration Review (EOIR).”

The ICE statement said that Arrona-Lara had an arrest warrant from Mexico, which led to his detainment.

“Mr. Arrona-Lara was brought to ICE’s attention due to an outstanding warrant issued for his arrest in Mexico on homicide charges.” The statement adds, “All of those in violation of the immigration laws may be subject to immigration arrest, detention and, if found removable by final order, removal from the United States.”

Venegas, a mother of five, told CBS that the family will hire a lawyer to advocate for her husband’s release.

This story has been updated to reflect ICE’s latest statement.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Jamie Ducharme at jamie.ducharme@time.com.