You can read the sad story of California in this news article: https://www.citylab.com/equity/2018/04/california-cities-fight-their-sanctuary-state/556973/
Begin quote from news article:
The federal government’s attack on California’s “sanctuary state” laws is growing angry, grassroots heads.
After California moved to prevent state and local law enforcement from cooperating with federal immigration officials in October, Governor Jerry Brown and Attorney General Xavier Bacerra were met with swift retaliation from Attorney General Jeff Sessions, who sued them and the state, alleging that three of the state’s new laws (including Senate Bill 54) overstepped their rights as a state and violated the US Constitution’s Supremacy Clause. (It’s the same argument the Department of Justice makes in another suit it filed against California this week, over jurisdiction in sales of federal land.) But while California officials await their days in court, a new resistance is being mounted from within.
In March, the small city of Los Alamitos was the first to announce that they would put their commitment to federal law over state regulations, drafting an ordinance that would let them opt out of state-level sanctuary laws. Emboldened, other cities in Orange and San Diego Counties are drafting exemption ordinances of their own. They’re the conservative mirror to the wave of liberal sanctuary cities like West Palm Beach, Fla., and Dallas County, Tex., that have pushed back against their conservative home state’s strict immigration enforcement.
End quote