(CNN) The husband of a US Army soldier killed in combat was detained and deported to Mexico last week by US Immigration and Customs Enforcement even though he had been granted permission to stay in the United States, according to his attorney.

The man, who is now back in Phoenix, where he lives, had been granted "parole in place," clearing him to remain in the United States after his wife was killed in 2010 in Afghanistan, the attorney says.

Jose Gonzalez Carranza was arrested by ICE agents at his home in Phoenix on April 8 and was taken to Nogales, Mexico, on the border two days later, his lawyer, Ezequiel Hernandez, told CNN on Monday. Carranza was brought back to Phoenix and released Monday, hours after his deportation was first reported by The Arizona Republic

Hernandez said his law firm tried to contact ICE for details related to why Carranza was taken back to Mexico but did not receive a response until after his office notified the press.

Despite Carranza's return to the United States, Hernandez said his case isn't over.

Read More