By JACQUES BILLEAUD, THE ASSOCIATED PRESS
PHOENIX — Arizona officials claimed a partial victory Monday after the U.S. Supreme Court upheld the "show me your papers" provision of the state's immigration law, while rights groups vowed to prevent it from ever taking effect.
While the court struck down most of the law, it preserved a section that requires police to check the status of people stopped for various reasons and who also might appear to be in the U.S. without documents.
The court, however, prohibited officers from arresting people on immigration charges.
The justices also added that the immigration status check could be subject to additional legal challenges. Critics have argued that it allows police officers to racially profile people.
Arizona Gov. Jan Brewer called the decision a victory for all Americans, saying that the law could now be enforced and that any officer who violates a person's civil rights will be held accountable.
Brewer said she expected lawsuits to challenge the implementation of the law. "It's certainly not the end of our journey," she said.
Immigration rights groups said they were surprised and disappointed by the court's decision, and planned to ask the lower courts to block implementation.
"The opinion invites the challenges that we are bringing. It's going to cause racial profiling. It will cause prolonged detentions," said Linton Joaquin of the National Immigration Law Center, one of the groups pushing a separate challenge to the Arizona law.
Kansas attorney Kris Kobach, who helped draft the Arizona law and has advised officials in other states wanting to crack down on illegal immigration, called the ruling "a big victory for Arizona" while acknowledging that "it's not a complete victory."
The ruling gives states "a green light" to enact "check your papers" laws, as well as other initiatives, such as requiring employers to use the federal e-Verify database to check the status of new workers, said Kobach, a Republican who is the Kansas secretary of state.
Arizona passed the law in 2010, with lawmakers arguing that that federal government wasn't adequately preventing illegal immigration. The Obama administration sued to block it, saying that enforcing immigration laws was a federal responsibility.
Federal courts had refused to let the four key provisions take effect.
Five states – Alabama, Georgia, Indiana, South Carolina and Utah – have adopted variations on Arizona's law. Parts of those laws also are on hold pending the outcome of the Supreme Court case.
Kobach said the decision was not a 100 percent victory for Arizona because "some of the less important provisions of the law were struck down." He added: "The reason can be summed up in two words: Justice Kennedy."
Justice Anthony Kennedy wrote the opinion for the court, a unanimous decision on allowing the status check to go forward. The court, however, was divided on striking down the other portions.
They were the sections that required all immigrants to obtain or carry immigration registration papers, made it a state criminal offense for an undocumented immigrant to seek work or hold a job and allowed police to arrest suspected undocumented immigrants without warrants.
Arizona has spent almost $3 million defending the law for the last two years, the Arizona Republic reported Monday.
In the Phoenix area, some residents were pleased that the court struck down most of the law.
Standing outside of a Home Depot, Carlos Beltran was looking for day labor work. Beltran, who was born in the U.S. but whose parents are undocumented immigrants, said he was glad to hear the court struck down most of the law.
"We can still be here today, find a job and go home and tell our wives we have something to eat tonight," he said.
With the ruling, Beltran said, the potential for racial profiling will now become worse. "I don't want to have my dad afraid of looking for a job. He has four kids. They shouldn't be afraid of trying to make a living," he said.
Audrey Pulido, who owns The Garage Bike Shop, said she was pleased that most of the law was struck down but said it's unfair that police still can check a person's immigration status.
"Actually what you're doing is you're stereotyping a person," said Pulido, whose husband was in the U.S. without documents before they were married. "It's like judging a book before you even read it, just by what they are. They are human beings, first of all."
Pulido's shop sits inside a shopping area in the predominantly Hispanic town of Guadalupe in the Phoenix area. She said residents do not talk much about the law but it has instilled fear in them and factors into how they plan out their lives.
Pulido said a waitress in the restaurant next door asked her if she would sign a notarized document to care for her son if the woman got deported. "I would do it in a heartbeat," she said. "I would not hesitate.
"You don't get that all the time," Pulido said. "They have to think that way – `What's going to happen to me?'"
Associated Press writer Mark Sherman in Washington; Terry Tang and Felicia Fonseca in Phoenix; and John Hanna in Topeka, Kan., contributed to this report.
More:Jan Brewer Sb 1070 Arizona Immigration Law Arizona Immigration Law Supreme Court Supreme Court Arizona Immigration Law Jan Brewer Arizona Immigration Law
HuffPost Politics brings you the top political stories three days a week. Learn more