Massachusetts Attorney General Andrea Campbell says a federal court has permanently blocked immigration-enforcement conditions that threatened grants for police training, equipment and juvenile-justice programs.

In a Nov. 5 announcement, Campbell said the U.S. District Court in Rhode Island, where Chief Judge John J. McConnell Jr. ruled Nov. 4, sided with a multistate coalition challenging the Trump administration's conditions on the funding.

Her office said Massachusetts received more than $3.78 million under the fiscal 2025 Edward Byrne Memorial Justice Assistance Grant program. It said those funds have been used for active-shooter training, communications equipment and other law-enforcement purposes.

A permanent injunction is a court order restricting government action after a decision on the legal claims.

The attorney general's announcement also identifies juvenile-justice grants as part of the case.