After the tiny city of Los Alamitos, California voted to defy the California Values Act, better known as the Sanctuary State laws, a number of other municipalities joined with them and filed suit in federal court against the state.

The city of Huntington Beach took a slightly different tack. They sued in state court, alleging that the state didn’t have the right to interfere with the way charter cities’ law enforcement agencies interacted with federal immigration agents. The state attempted to merge the case with the pending federal cases, but Judge James Crandall ruled that they were two separate issues and ordered an expedited trial.

After trial Thursday, Judge Crandall ruled that SB 54 is an unconstitutional “overreach into a city’s right to govern its own police.”

BREAKING: In major blow to CA Sanctuary Law – OC Judge rules #SB54 UNCONSTITUTIONAL in Huntington Beach case. Ruling affects 100+ charter city’s in CA. Judge: Law is overreach into a city’s right to govern its own police re: turning illegal immigrants over to ICE. @KFIAM640 pic.twitter.com/F3pnEgZnl8 — Corbin Carson (@CorbinCarson) September 27, 2018

The ruling applies to more than 100 charter cities in the state.

Bet Kevin de Leon didn’t see that one coming.