More than two years after a fierce legislative debate, a federal judge blocked key parts of an immigration law that banned so-called sanctuary cities in Florida.

U.S. District Judge Beth Bloom, in a 110-page ruling, wrote that the “totality of the relevant facts present significant evidence, both direct and circumstantial, of the Legislature’s discriminatory motives in enacting SB 168 [the law].”