AUSTIN, Texas (KTRK) -- The Texas Legislature on Wednesday passed a ban on so-called "sanctuary cities" that allows police officers to ask about a person's immigration status and threatens sheriffs and police chiefs with jail time if they don't work with federal authorities.
Republican Gov. Greg Abbott has pledged to sign the bill into law, which could now come quickly.
RELATED: Inside the debate on the "sanctuary cities" bill
The GOP-led Senate passed the bill Wednesday despite objections from Democrats, who call the bill a "show-me-your-papers" measure that will be used to discriminate against Latinos.
The term "sanctuary cities" has no legal definition, but Republicans want local police to help federal immigration agents crack down on criminal suspects in the U.S. illegally.
The bill allows the state to withhold funding from local governments for acting as sanctuary cities.
Republicans have a strong majority in the Legislature and shoved aside Democratic objections to push the bill, even as President Donald Trump's efforts to withhold federal funding for sanctuary cities have hit roadblocks in federal courts.
The Texas bill allows police to inquire about the immigration status of anyone they detain, a situation that can range from arrest for a crime to being stopped for a traffic violation. It also requires local officials to comply with federal requests to hold criminal suspects for possible deportation.
"We do not want illegal criminals back on the street. This is about the rule of law. It's always been about the rule of law," said bill sponsor Sen. Charles Perry, a Republican from Lubbock. He dismissed the concerns of racial profiling and harassment as "fearmongering."
Texas doesn't currently have any sanctuary cities, but that hasn't stopped Abbott and Republican legislative leaders from pushing aggressively to ban them.
RELATED: 'Sanctuary cities' bill comes into focus in Texas
Sally Hernandez, the sheriff of Travis County, which includes liberal Austin, enraged conservatives by refusing to honor federal detainer requests if the suspects weren't arrested for immigration offenses or serious crimes such as murder. Hernandez softened her policy after Abbott cut funding to the county, saying decisions would be made on a case-by-case basis. She has said she will conform to the state's ban if it becomes law.
Lt. Gov. Dan Patrick said the bill "will ensure that no liberal local official can flaunt the law."
"There is no excuse for endangering our communities by allowing criminal aliens who have committed a crime to go free," Patrick said.
Fierce resistance has come from Texas Democrats and immigrants' rights organizations, as well as from some in law enforcement and top business lobbies. Opponents say it opens the door to discrimination and intimidation. Many sheriffs and police chiefs in heavily Democratic areas warn that it would make their jobs harder if immigrant communities - including crime victims and witnesses - become afraid of the police.
"We don't want walking while brown to become reasonable suspicion," said Sen. Sylvia Garcia, a Houston Democrat.
Abbott has long promised to sign a sanctuary cities ban but his office did not immediately comment on the bill's passage Wednesday.
Opponents are expected to attempt suing to block the law.
"Finally, Gov. Abbott has gotten what he asked for: a hateful, anti-immigrant bill that will tear families apart, make us less safe, negatively drag Texas into the national headlines and result in years of costly litigation at the taxpayer's expense," said Rep. Eddie Rodriguez, an Austin Democrat and chairman of the Mexican American Legislative Caucus.
Maria Espinoza, co-founder of the Houston-based "The Remembrance Project," issued the following statement after SB4's passage. The group, which offers vocal support for Trump and tougher immigration laws, said:
Once again, Texas again leads the nation with its new hard-hitting legislation aimed at ending Sanctuary Cities in Texas. It contains provisions that not only allow arresting officers to finally do their job, but also to hold those who choose not to follow the law personally liable.
At a time when mayors, sheriffs, and state houses are publicly and unlawfully placing the rights of illegal aliens over its citizens, Texas is sending a message that the safety and well being of Texas citizens will come first.
The Remembrance Project, which has been in this fight since 2009, congratulates all of the Texas conservative organizations that have fought so hard for this for nearly 20 years. I credit the many "Stolen Lives" families of those killed by illegal aliens who have testified in Austin since 2011, and who have appeared on the national stage and on national and local media, bravely telling their stories. I also truly believe that this bold move by the Texas legislature was inspired by the leadership of President Donald Trump, who first made this a national issue in 2015 in his unlikely road to the White House, making this another Trump "America First" victory.
Report a typo to the ABC13 staff