The U.S. Supreme Court will consider whether an Oregon city’s enforcement against camping in public areas violates the constitutional rights of homeless people in a case that has attracted attention from cities and interest groups across the country.

The justices said Friday that they will review a federal appeals court ruling Grants Pass’ anti-camping ordinance violates the Eighth Amendment’s prohibition on cruel and unusual punishment by forcing involuntarily homeless people to leave.