( CNN) Texas Gov. Greg Abbott on Sunday signed a bill that would forbidding sanctuary cities in his government.

The bill, which Abbott could be seen signing on Facebook Live Sunday evening, establishes criminal and civil penalties for local government entities and law enforcement that don’t comply with federal immigration laws and detainer petitions, the governor’s agency said.

The new law lets government entities to be fined $25,500 for each day the law is violated, as well asa class A misdemeanor charge for sheriffs, police chiefs and constables who fail to comply and removal from agency for elected and appointed officials, the governor’s agency said.