PROVIDENCE, R.I. — Uncertainty over President Donald Trump’s promised immigration enforcement crackdown is causing fear and political division in Rhode Island.

More than 100 activists protested inside the State House on Tuesday against state legislation that would order local officials from so-called sanctuary cities, including Providence, to comply with federal enforcement prerogatives and punish those officials with jail time or other penalties when they don’t.

The immigrant rights activists crowded inside the chamber of the state House of Representatives shortly before it was in session, confronting and later booing the bill’s sponsor, Rep. Arthur Corvese, a North Providence Democrat. A smaller group also protested earlier in the day outside Corvese’s suburban medical office, where he works as an optometrist.

“There are some bad actors in the immigrant community, and we have to do our best … to codify into law a system by which there are no loopholes,” Corvese told the activists inside the House chamber Tuesday after they asked him to drop the bill. He said he wouldn’t take his name off of it on principle, though he did say it was “perhaps too broadly written.”

Corvese introduced the bill earlier this year with a group of Democrats and some Republicans who represent predominantly white suburbs, but it’s opposed by other Democrats representing Providence and cities with large immigrant communities.