Campbell said in a separate statement Wednesday that she will “keep fighting in court for a permanent block on the Trump Administration’s unlawful attempt to take this critical funding away from our state.”
“There is nothing more important than the safety and security of our residents, and this order is key to ensuring Massachusetts can prepare for and respond to natural disasters, cyberattacks, and other emergencies as our case continues,” she said.
In Rhode Island, state Attorney General Peter F. Neronha said in a statement that “federal emergency funding cannot be held hostage from states who are rightfully resisting the President’s unlawful attempts to force them to do his bidding.”
The US Department of Homeland Security didn’t respond Wednesday to requests for comment.
The funding at stake comes from the Homeland Security Grant Program, which provides about $1 billion to states.
Over the summer, Massachusetts was notified that it would receive $22.2 million in grant funding, but on Saturday state officials received word that nearly $7 million had been reallocated. The reallocation left Massachusetts with $15.3 million in grant funding, while states like Missouri and Texas received large boosts in their allotments, according to the complaint by the 12 states that sued over the reallocated funding.
The other states in the lawsuit are Illinois, New Jersey, California, Rhode Island, Connecticut, Delaware, Minnesota, New York, Vermont, and Washington, as well as the District of Columbia.
In a statement on Tuesday, Massachusetts Governor Maura Healey criticized the funding cut.
“President Trump is playing politics with our public safety, and he’s using these funding cuts to punish those who disagree with him,” she said. “He needs to restore the funding that we are owed.”
The grant funding is distributed across Massachusetts through five regional advisory councils, which use the money to pay for training, equipment, and other measures intended to help protect the public from acts of terrorism or other disasters.
If Massachusetts loses the nearly $7 million that the Trump administration wants to reallocate, funding for the Metro Boston Region would take the biggest hit — more than $4.1 million, according to state figures.
The cut would eliminate all funding for a regional SWAT team, a longstanding effort to improve public safety communications, a regional camera system, and a gunshot detection service, the state said.
Funding for training and equipment to protect the Port of Boston would be cut by more than $322,124, a 62 percent reduction, the figures show.
The cuts would also wipe out most of the funding for a $1.8 million grant program to help state agencies respond to a terror attack or other disaster.
In the central part of the state, the funding cuts would eliminate funding that helps pay for the regional homeland security council and a laser scanner system that can be used in crime scene investigations.
Funding for technical rescue teams in that part of the state would be reduced to $8,862, a cut of 90 percent.
Dudley Fire Chief Dean Kochanowski, the chairperson of the Central Region Homeland Security Council, said the public safety cuts make no sense.
“They are cutting the things they wanted,” he said Wednesday.
The grant funding also pays for training and equipment to prepare emergency responders to handle active shooter incidents, provide security during elections, and set up emergency shelters.
There is constant demand for training in the areas of technical rescue and active shooter response because of turnover among emergency responders, said Lieutenant Colonel Thomas Grady of the Berkshire County Sheriff’s Department.
Grady leads the Western Region Homeland Security Advisory Council.
“It will always be a necessary requirement,” he said Wednesday. “We will have to continue the process of training them to the same level.”
In Rhode Island, the state received the federal funding it expected, a total of more than $7.3 million, though the Trump administration said the sum must be spent in a year, instead of three. That meant the state’s emergency management agency would have to make last-minute changes to its emergency budget — and would end up losing millions that it couldn’t spend.
The fight over funding from the federal Homeland Security Grant Program dates to Trump’s Inauguration Day when he signed an executive order directing DHS to withhold money from “sanctuary” jurisdictions, or places where local officials refrain from getting involved with immigration enforcement.
As the Trump administration worked to carry out the order, 20 states and the District of Columbia filed a federal lawsuit in May, challenging the constitutionally of making state cooperation in immigration enforcement a condition of grant funding from the Federal Emergency Management Agency, a component of DHS.
Last week, a federal judge in Rhode Island handling that case ruled in favor of the states and prohibited the federal government from requiring states to assist with immigration enforcement in order to be eligible for FEMA grants.
Following the ruling, the Trump administration notified states over the weekend of reallocated funding for the homeland security grants.
Amanda Milkovits of the Globe staff contributed to this report.
Nick Stoico can be reached at nick.stoico@globe.com. Laura Crimaldi can be reached at laura.crimaldi@globe.com. Follow her @lauracrimaldi.