A controversial Florida law passed earlier this year that bans so-called sanctuary cities took full effect on Tuesday.

The measure was passed by the Florida Legislature back in May and was signed into law by Gov. Ron DeSantis Ron DeSantisOvernight Health Care: New wave of COVID-19 cases builds in US | Florida to lift all coronavirus restrictions on restaurants, bars | Trump stirs questions with 0 drug coupon plan On The Money: Half of states deplete funds for Trump's 0 unemployment expansion | EU appealing ruling in Apple tax case | House Democrats include more aid for airlines in coronavirus package Florida to lift all COVID-19 restrictions on restaurants, bars MORE (R), who campaigned on the immigration issue, the following month.

ADVERTISEMENT

The law bars Florida cities from having “sanctuary policies,” or those that restrict a law enforcement agency’s ability to work with federal immigration authorities, particularly regarding matters of detainment and deportation.

The law also requires law enforcement agencies that have custody of someone subject to an immigration detainer "to notify the judge of the detainer, record in the person’s file the existence of the detainer, and comply with the detainer," according to the bill summary.

One portion of the law previously authorized officials to transport an undocumented immigrant in custody across state lines in cooperation with federal immigration authorities, according to the Miami Herald. However, that particular provision was blocked by a federal judge on Monday.

Though provisions of the legislation banning sanctuary cities took effect at the start of July, the remaining section of the measure that establishes penalties for elected officials who violate the law didn’t take effect until Tuesday. Officials who don’t comply with the law are now able to be removed from office.