SACRAMENTO (AP) – A measure intended to impede President Donald Trump’s immigration policy has been amended in a futile attempt make it more acceptable to law enforcement.

SB54 would now let California authorities notify the federal government 60 days before violent felons are released from state prison or local jails.

READ MORE: News Crew Security Guard Shot In Oakland Dies From Injuries

The author, Democratic Senate leader Kevin de Leon of Los Angeles, says that will give federal immigration officials enough time to pick up criminals before they walk free.

However, the state sheriffs’ association and other law enforcement remain opposed.

READ MORE: UPDATE: 2 Men Shot Outside South Bay High School Football Playoff Game

Aside from that exception, the bill would create a statewide sanctuary for people who are in the country illegally.

The Senate Appropriations Committee on Monday set the measure for a full Senate vote this month, although finance officials say they don’t know the cost.

MORE NEWS: COVID: Expert Says New Omicron Coronavirus Variant Likely Already in U.S.

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.