SACRAMENTO (CBS/AP) — California has moved a big step closer toward becoming the nation’s first “sanctuary state.”

Early Saturday, state lawmakers sent Governor Brown a bill that would create a statewide sanctuary policy, and which would be the most far-reaching of its kind of the nation.

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

It will now be considered by the governor, who announced his support after the top state Senate leader agreed to water down the bill and preserve authority for jail and prison officials to cooperate with immigration officers in many cases.

The legislation is the latest effort by Democratic lawmakers in California to create barriers for President Donald Trump’s campaign pledge to step up deportation efforts.

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

It prohibits law enforcement officials from asking about a person’s immigration status or participating in immigration enforcement efforts.

It also prohibits law enforcement officials from being deputized as immigration agents or arresting people on civil immigration warrants.

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