Under the new law, federal officials will be required to detain any unauthorized migrant accused of theft and violent crimes.