Bristol County Sheriff Thomas M. Hodgson has a warning for Boston Mayor Marty Walsh, Somerville Mayor Joseph Curtatone and any other mayor or civic leader that wants to turn their city into a "sanctuary city."

"Title 8 of the U.S. Code specifically states that it is a criminal offense to conceal, harbor or shield any illegal alien from detection," Sheriff Hodgson said. "If these elected officials follow through on their claims to harbor illegals in their homes or City Halls like they said this week, they would be in direct violation of the law."

Earlier this week, President Donald Trump promised to cut off federal funding for so-called "sanctuary cities." Mayor Walsh pledged to stand up in opposition to the president on the matter, "even if that means using City Hall as a last resort."

Hodgson told WBSM's Howie Carr that Mayor Walsh and Mayor Curtatone have "just put themselves in the crosshairs of having a knock on their door, having federal agents arrest them and if convicted, face up to five years imprisonment," Hodgson said.

"I don't know how you tell everyone in your community, 'you have to follow the laws of our community, have to follow our ordinaces and everything else, but if I don't like a certain law as mayor, I'm simply going to defy it,'" Hodgson said. "And basically encourage other people, hey, if you don't like a particular law, do the same thing."

More From WBSM-AM/AM 1420