The Supreme Court voted 5-3 to uphold a 2007 Arizona law that punishes businesses that knowingly employ undocumented immigrants.

The decision comes as a controversial 2010 law that sought harsh measures for monitoring undocumented immigrants, including a requirement that law enforcement officers demand identification from anyone who they believe to be undocumented, goes through the appeals process after a lower court struck it down.