CONCORD, N.H. (AP/WWLP) — The governor of New Hampshire on Friday promised a legal challenge to a decision by neighboring Massachusetts to continue taxing New Hampshire residents who normally work in Massachusetts but who have been working from home during the coronavirus pandemic.

New Hampshire Gov. Chris Sununu said the state would file suit in the U.S. Supreme Court on Monday to challenge a final ruling of an emergency regulation issued Friday by the Massachusetts Department of Revenue.

Sununu called the ruling a “direct attack” on New Hampshire and an attempt to “pick the pockets” of its citizens.

“The Commonwealth has implemented temporary regulations that are similar to those adopted by other New England states,” Massachusetts Department of Revenue spokeswoman Naysa Woomer said in an email statement. “The Administration does not comment on pending lawsuits.”

The department said it put the regulations in place to ensure clarity with tax collections for Massachusetts and other states and minimize sudden disruption for employers and employees during the COVID-19 pandemic.

Sununu was joined by New Hampshire politicians on both sides of the aisle who criticized the ruling.

“The actions taken by the State of Massachusetts to dip their hand into Granite State pockets because they cannot balance their own budget is disgraceful,” Senate Republican Leader Chuck Morse said in a statement. “I applaud Governor Sununu for quickly announcing a plan to file lawsuit against this new rule and make it clear that New Hampshire will never accept an income tax in this state.”

He added, “Massachusetts cannot balance its budget on the backs of our citizens, punish our workers for making the decision to work from home, and keep themselves their families and those around them safe.”

Democratic U.S. Rep. Chris Pappas also attacked the ruling as unfair.

“This rule change by Massachusetts extends an outrageous cash grab targeting Granite Staters who are doing their part to stay home and stay safe during a pandemic,” Pappas said in a statement.

Nearly 100,000 New Hampshire residents normally commute to Massachusetts for work.