Lawyers have tossed everything but the kitchen sink at President Donald Trump’s executive order on immigration this week.

The cases range from habeas corpus petitions on behalf of travelers to class actions backed by immigration and civil rights groups to suits that leverage the credibility—and resources—of state governments in Washington, Virginia, Massachusetts and New York. They assert violations of the U.S. Constitution and statutes including the Immigration and Nationality Act and the Religious Freedom Restoration Act.