Cars wait to enter Fort Bliss, Texas, Sept. 9, 2014. (AP Photo/Juan Carlos Llorca, File)

The wife of a U.S. Army sergeant has been released from federal immigration custody after spending a month in detention, according to the office of U.S. Sen. Tammy Duckworth.

Sgt. Jose Serrano, an active duty soldier stationed in Texas who served three tours in Afghanistan, previously told The Associated Press that immigration agents arrested his wife, Deisy Rivera Ortega, during an April 14 appointment with immigration services to advance her application for permanent residency.

Duckworth, a Democrat and combat veteran, personally called Department of Homeland Security Secretary Markwayne Mullin on Wednesday to advocate for Rivera Ortega’s release, according to her office. Rivera Ortega was released Thursday evening.

“Rivera-Ortega has been released from ICE custody with a GPS tracking device, mandatory home visits, and ICE office check-ins. She will receive full due process,” said the DHS, which oversees U.S. Immigration and Customs Enforcement.