In the end, it came down in line with prior precedent. The Supreme Court, ruling in late June on the Arizona law that set off a tsunami of ugly legislation aimed at undocumented immigrants, affirmed decades of settled law, saying the federal government — not states or cities — has the right to control immigration policy.