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: 19-Year-Old Woman Killed In Fiery Santa Cruz DUI Crash Following High-Speed CHP Chase; Driver Arrested

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: FBI: San Francisco Childcare Employee Accused of Making Child Porn at Work

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: Oakland Officials Announce Ramped Up Clean Up Of Illegal Dumping Sites

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