A controversial New York law aimed at preventing on-duty law enforcement officers from wearing masks has hit a major roadblock after a federal judge temporarily blocked the measure from taking effect.

Mask Ban for Law Enforcement in New York

The law was designed to prohibit officers from covering their faces while interacting with the public and would have required them to clearly display identification. Supporters argued it would increase transparency and accountability, while opponents said New York doesn't have the authority to regulate how federal officers enforce immigration laws.

Law Enforcement Mask Ban in New York
Getty Images/Canva

According to the New York Times, U.S. District Judge Mae D'Agostino of the Northern District of New York partially granted the U.S. Department of Justice's request for a preliminary injunction, preventing the state from enforcing the mask ban.

Part of Mask Ban Put on Hold in New York

In her ruling, D'Agostino acknowledged that New York officials may have legitimate concerns about unidentified officers wearing masks during enforcement operations. However, she wrote that long-standing law makes it clear that the federal government, not individual states, has the authority to set the policies governing federal immigration enforcement.

The law, known as the MELT (Mandating End of Lawless Tactics) Act, would have banned on-duty law enforcement officers from wearing masks and required them to display identification while interacting with the public.

Not all of the law was blocked, though.

Law Enforcement Wearing Masks in New York
Getty Images

New York Ban on Agreements Moves Forward

Judge D'Agostino did allow New York's ban on 287(g) agreements to move forward. Those agreements allow local law enforcement agencies to work directly with U.S. Immigration and Customs Enforcement (ICE), and the state's ban is still expected to take effect later this month.

SEE ALSO: Post Office Employee Stabbed Multiple Times in the Hudson Valley

Assemblymember Tony Simone, who sponsored the MELT Act, said he's disappointed by the ruling but believes the law will ultimately withstand legal challenges.

"We worked closely with constitutional scholars and law enforcement experts to craft policy that would stand up to constitutional challenges," Simone said. He added that New York has "a legal obligation to act" when unidentified, masked law enforcement officers are operating in communities and urged Governor Kathy Hochul and others to continue defending the law.

Hochul released a statement following the decision.

"As we have said from the start, New York's ban on 287(g) agreements is legal and will keep our communities safe," the statement said.

Hochul also made it clear she disagrees with the judge's decision to block the mask provision.

"While the court enjoined enforcement of New York's mask ban, we stand firm in our belief that masked agents do not make New York safer and our offices are reviewing all legal options at this time."

The case will now continue through the federal court system, where the future of New York's mask ban will ultimately be decided.

6 Vehicles That Are Banned From New York Roads

These six vehicles are prohibited from being operated on New York roads.

Gallery Credit: Canva/Unsplash

Six Hudson Valley Places We'll Never Call by Their New Names

Places in the Hudson Valley that have new names that people refuse to use.

Gallery Credit: CJ

More From WRRV-WRRB