Texas Gov. Greg Abbott signed a bill banning sanctuary cities Sunday night.
The law effectively prohibits cities from declaring themselves "sanctuary cities" and will allow police officers in the state to ask about a person's immigration status. In addition, Abbott said any official who refuses to cooperate with federal immigration enforcement could face jail time.
Abbot signed the bill during a Facebook Live, without notifying the public in advance.
"Citizens expect law enforcement officers to enforce the law, and citizens deserve law breakers to face legal consequences," he said. "Texans expect us to keep them safe, and that is exactly what we are going to do."
Democrats and immigrant rights supporters have said this a “show-me-your-papers” measure that will be used to discriminate against Latinos. Police departments across Texas have been largely against the bill, but Abbott said the law will prevent anyone from "harboring people who have committed dangerous crimes."
The ACLU of Texas tweeted that the law gives "Texas police a license to discriminate."
In addition, the ACLU of Texas released a statement saying that the law would only encourage racial profiling, clog Texas jails and remove democratically elected representatives from office if they fail to comply.
“This is not the Texas I know,” Terri Burke, executive director of the ACLU of Texas, said in a statement. “This racist and wrongheaded piece of legislation ignores our values, imperils our communities and sullies our reputation as a free and welcoming state."
The Associated Press contributed to this report.