AP —

An Immigration and Customs Enforcement officer charged with shooting a man and lying about it during the immigration crackdown in Minneapolis was released from a Texas jail Thursday, after a judge refused to order his return to Minnesota.

Christian Castro was released from a detention center in Brownsville, Cameron County Sheriff Manuel Trevino said in an email.

A day earlier, U.S. District Judge Fernando Rodriguez Jr. wrote in an order that said he couldn’t prevent a county sheriff from releasing Castro or order Texas Gov. Greg Abbott to sign his extradition warrant.

Castro is charged in Minnesota with assault and falsely reporting a crime in the January 14 shooting of 24-year-old Julio Cesar Sosa-Celis.