Florida Gov. Ron DeSantis signed legislation Friday that bans “sanctuary cities” in the state, fulfilling a pledge he made while on the campaign trail.

DeSantis — in a ceremony at the Okaloosa County Commission chambers alongside Florida GOP Rep. Matt Gaetz — added his signature to SB 168.

The bill requires state and local governments to honor retainers made by Immigration and Customs Enforcement and to cooperate with federal immigration authorities.

Furthermore, the bill prohibits local governments from adopting “sanctuary” policies that protect illegal immigrants, requiring them to notify ICE when an individual subject to a detainer is released from their custody.

“Earlier this year, Governor DeSantis asked the Florida Legislature to present him with meaningful legislation to uphold the rule of law and ensure that no city or county jurisdiction can get in the way of Florida’s cooperation with our federal partners to enforce immigration law,” Helen Ferre, a DeSantis spokeswoman, wrote in a Thursday email, according to WESH-TV in Orlando.

TRENDING: Tim Tebow Teams with Trump Administration To Fight Human Trafficking

“Public safety is paramount, and local law enforcement agencies can and should work with the federal government to ensure that accountability and justice are one in our state,” Ferre said.

DeSantis’ bill signing marks a further divide in how conservative and liberal states deal with federal immigration enforcement.

Ten states — Florida, Georgia, Alabama, Iowa, Arizona, Texas, North Carolina, Mississippi, Tennessee and Missouri — have laws that mandate state and local governments help ICE apprehend suspected illegal immigrants.

Do you approve of the Florida law banning "sanctuary cities"? Yes No Completing this poll entitles you to The Western Journal news updates free of charge. You may opt out at anytime. You also agree to our Privacy Policy and Terms of Use You're logged in to Facebook. Click here to log out. 100% (470 Votes) 0% (1 Votes)

On the other hand, a growing number of blue-leaning states have passed laws that strictly prohibit local law enforcement from honoring ICE detainers. Colorado and Washington, both states run by Democratic-controlled legislatures and governors, signed sanctuary bills into law as recently as May.

Controversial sanctuary policies are adamantly opposed by immigration hawks and by federal immigration authorities themselves, who say such laws make it much harder to do their job.

Sanctuary City Ban is NOW Florida Law. Thank you Senator Joe Gruters for sponsoring this bill and for Governor DeSantis for making it Law. pic.twitter.com/C8sh2mMJtE — Sarasota GOP (@SRQRepublicans) June 14, 2019

“Sanctuary policies not only provide a refuge for illegal aliens, but they also shield criminal aliens who prey on people in their own and other communities,” ICE said in a statement to The Daily Caller New Foundation shortly after Washington Democratic Gov. Jay Inslee signed one of the strictest sanctuary policies into law.

“When ICE officers and agents have to go out into the community to proactively locate these aliens, it puts personnel and potentially innocent bystanders at risk,” it said.

RELATED: Florida Governor Rolls Out Plans for Strict New Punishments for Rioters

The Florida anti-sanctuary bill faced stiff opposition from Democrats and illegal immigrant rights groups, but the bill passed the state House by 68-45 and the state Senate by 22-18.

Content created by The Daily Caller News Foundation is available without charge to any eligible news publisher that can provide a large audience. For licensing opportunities of our original content, please contact licensing@dailycallernewsfoundation.org.

A version of this article appeared on The Daily Caller News Foundation website.

We are committed to truth and accuracy in all of our journalism. Read our editorial standards.