(CNN) -- Arizona Gov. Jan Brewer on Friday signed into law a bill that requires that requires immigrants to carry their alien registration documents at all times and requires police to question people if there is reason to suspect that they're in the United States illegally.
During the signing ceremony, the governor spoke about concerns over the possibility of racial profiling, announcing that she was issuing an executive order for the development of training for law enforcement on how to implement the law fairly.
In remarks earlier in the day, President Obama criticized the Arizona bill, but he also said that failure by the federal government to act on immigration reform would contribute to "irresponsibility by others," a pointed reference to the bill Brewer would sign into law.
Here are excerpts from remarks Friday by Obama and Brewer.
"Government has a responsibility to enforce the law and secure our borders and set clear rules and priorities for future immigration. And under Secretary Napolitano's leadership at the Department of Homeland Security, that's exactly what we're doing. We've strengthened security at our borders, ports and airports and we will continue to do so, because America's borders must be secure.
"Businesses have a responsibility to obey the law and not undermine American workers, especially when so many Americans are out of work. Many businesses work to comply with the law every day. But for those that don't -- those that ignore the law and exploit and abuse vulnerable workers and try to gain an unfair advantage over all the businesses that do follow the law -- we will hold them accountable.
"And people who are in America illegally have a responsibility -- to pay their back taxes and admit responsibility for breaking the law, pay a penalty, learn English, pass criminal background checks, and get right with the law -- or face removal -- before they can get in line and eventually earn their citizenship."
"Indeed, our failure to act responsibly at the federal level will only open the door to irresponsibility by others. And that includes, for example, the recent efforts in Arizona, which threatened to undermine basic notions of fairness that we cherish as Americans, as well as the trust between police and their communities that is so crucial to keeping us safe.
"In fact, I've instructed members of my administration to closely monitor the situation and examine the civil rights and other implications of this legislation. But if we continue to fail to act at a federal level, we will continue to see misguided efforts opening up around the country."
Arizona Gov. Jan Brewer
"The bill I'm about to sign into law, Senate Bill 1070, represents another tool for our state to use as we work to solve a crisis that we did not create and the federal government has refused to fix, the crisis caused by illegal immigration in Arizona's porous border.
"This bill, the Support Law Enforcement and Safe Neighborhoods Act, strengthens the laws of our state. It protects all of us, every Arizona citizen, and everyone here in our state lawfully. And it does so while ensuring that the constitutional rights of all in Arizona remain solid, stable and steadfast."
"This legislation mirrors federal laws regarding immigration enforcement. Despite erroneous and misleading statements suggesting otherwise, the new state misdemeanor crime of willful failure to complete or carry an alien registration document is adopted verbatim from the same offense found in federal statute."
"Today I am issuing an executive order directing the Airzona Peace Officers Standards and Training Board, AZ POST, to develop training to appropriately implement Senate Bill 1070. Importantly, this training will include what does and does not constitute reasonable suspicion that a person is not legally present in the United States."
"We must acknowledge the truth. People across America are watching Arizona, seeing how we implement this law, ready to jump on even the slightest misstep. Some of those people from outside our state have an interest in seeing us fail. They will wait for a single slip-up, one mistake, and then they will work day and night to create headlines and get the face time they so desperately covet."
"We must react calmly. We must enforce the law evenly, and without regard to skin color, accent or social status. We must prove the alarmists and the cynics wrong."