A judge has ruled one of the remaining portions of Arizona’s immigration enforcement law can go into effect, which means law enforcement officers will be required to check a person's immigration status if they suspect the person is in the country illegally.

The requirement applies only to individuals an officer has already stopped for another reason. Opponents of Section 2B of Arizona's immigration enforcement law argued it could lead to racial profiling, and asked U.S. District Court Judge Susan Bolton to stop it from going into effect.

On Wednesday, Bolton ruled the section can be enforced. Supporters, including Arizona Governor Jan Brewer, have said officers will be trained to enforce the provision lawfully.

The requirement has been at the center of a two-year legal battle. The U.S. Supreme Court upheld this provision of SB1070 earlier this year, when the justices struck down other portions of the law.

Brewer said in a news release the provision will go into effect shortly, but did not provide a specific date.

She is quoted as celebrating the decision.

"With this provision, Arizona makes a clear statement that it will not tolerate sanctuary city policies, and will now have thousands of additional officers to collaborate with the federal government as state and local law enforcement do what they always have: enforce the law," Brewer said in the news release following Bolton's decision.