Houston Mayor Sylvester Turner (D) praised a federal judge's decision to temporarily block the implementation of the state's law banning sanctuary cities.

"Happy to learn a federal judge blocked the Texas law aimed at making local police immigration enforcers. Need them for fighting local crime," Turner tweeted on Wednesday.

Happy to learn a federal judge blocked the Texas law aimed at making local police immigration enforcers. Need them for fighting local crime. — Sylvester Turner (@SylvesterTurner) August 31, 2017

A federal judge issued a ruling Wednesday night temporarily blocking the law, which was set to go into effect on Sept. 1. The bill would have made it a Class A misdemeanor for a local law enforcement official to refuse to cooperate with federal Immigration and Customs Enforcement (ICE) agents.

ADVERTISEMENT

Local governments have argued that ICE detainer orders, which order law enforcement to detain people suspected of being undocumented immigrants, erode trust between the public and local law enforcement. The anti-sanctuary city bill is supported by the Trump administration and the Department of Justice.

The bill was a major legislative goal for Texas Gov. Greg Abbott (R) and the state's Republicans. It was signed into law in May despite vocal opposition from some of Texas's largest cities, including Houston, Austin and San Antonio.