Arizona is preparing to ask an appeals court to lift a judge’s ruling that put most of the state’s immigration law on hold in a key first-round victory for the federal government in a fight that may go to the U.S. Supreme Court.

Three people were arrested Thursday morning at the federal courthouse in Phoenix, where police had riot gear ready in case the protest got out of hand. It was not immediately clear why the people were detained.