WASHINGTON — President Donald Trump’s hard line on immigration has resulted in new arrests of undocumented people living in the United States.

But even with arrests on the rise under Trump, the level of deportations are far from their peak.

Sanctuary cities and certain states have limited Trump’s effort to pick up undocumented immigrants. As a result, there is a wide gap from state to state when it comes to deportations. Places like New York City and California are less cooperative with Immigration and Customs Enforcement.

“One important thing in Trump’s executive order is that anyone that an individual ICE officer feels is a threat to public safety can be a priority for enforcement,” said Randy Capps, a researcher at the Migration Policy Institute, a non-partisan think tank based in Washington. “Basically, all unauthorized immigrants are at risk of arrest and deportation.”

Now the U.S. is deporting fewer people than it did during the end of the Obama administration, mainly due to local police forces rejecting requests from ICE for detainers. Arrests by Trump’s ICE in 2017 were about half what they were during 2010 and 2011, according to the Migration Policy Institute.

“You’ve had cities out there that have passed policies in their cities. They are not allowed to assist ICE whatsoever,” said Thomas Homan, the acting director of ICE.

Arrests made by Trump’s ICE were about half the numbers recorded in 2010 and 2011. According to the Migration Policy Institute, about 300 jurisdictions limit their cooperation with ICE. But more than 3,000 law enforcement jurisdictions across the country fully cooperate with the agency.

The research by MPI caps a year-long field study.