As President Trump launches the crackdown he promised on immigrants living in this country illegally, some mayors in Massachusetts are promising to stand up to the president.

Many immigrants and refugees in the state and across the country have been on edge for some time now, anxious about seemingly offhand remarks made by once-candidate Donald Trump on the campaign trail.

Bans on Muslim refugees; mass deportations and raids; and a massive wall along the country's southern border. These were all, at one time, classified as "campaign rhetoric."

But as President Trump settles into office, the reality of these new policies is becoming clearer for immigrants who are not in the country legally.

"We are going to get the bad ones out," Trump said during an announcement Wednesday at the Department of Homeland Security. "The criminals and the drug deals, and gangs and gang members and cartel leaders. The day is over when they can stay in our country and wreak havoc."

With two separate executive orders, Trump put some teeth behind his campaign promises.

One executive order calls for an increase in Border Patrol agents and expansion of detention space at the border, among other steps designed to beef up prosecutions of criminal immigrants.

With the second executive order, Trump follows through with his pledge to strip federal funding from communities that are so-called "sanctuaries" for immigrants in the country illegally. That would include Boston, where local police do not detain or question anyone based solely on their immigration status.

City Hall Will Be 'A Safe Space'

Boston Mayor Marty Walsh took a swift and firm stand in response to Trump's order.

With a visibly diverse group of city employees and local elected officials huddled around him, Walsh said the city has been, and always will be, a safe place for immigrants, no matter their status.

"Boston was here for me and my family. And for as long as I am mayor, I will never turn my back on those who are seeking a better life," he said. "We will continue to foster trusting relationships between law enforcement and the immigrant community. And we will not waste vital police resources on misguided federal actions."

Walsh said he's not intimidated by Trump's fiscal threats — even though the city has approximately a half-billion dollars in federal revenue at stake, a spokeswoman for the mayor's office said.

In fact, Walsh went so far as to open the doors to City Hall itself for anyone fearing deportation.

"That means if people want to live here, they'll live here," he said. "They can use my office. They can use any office in this building. Any place they want to use, they'll be able to use this building as a safe space."

Other Mass. Leaders 'Make A Stand'

There are several communities in the state that consider themselves "sanctuary cities," including Somerville, where Mayor Joseph Curtatone also rebuked Trump's threat to pull federal funding.

"The impact to our national economy will be devastating," said Curtatone, referring to the federal funding at risk in sanctuary cities across the country. "If cities have to make a stand for basic human decency, let me be clear, then we’re going to make that stand," he said.

Curtatone said the city is ready to tighten its belt, but not ready to compromise its principles.