Three of the states affected by the federal government’s $10,000 cap on state and local tax deductions have filed a lawsuit in federal court to protect a workaround for taxpayers.

The lawsuit filed by New York, New Jersey and Connecticut comes after Gov. Andrew Cuomo and other governors from high-tax states have railed against the limit, part of a federal tax law overhaul.

The timing of the lawsuit was triggered by the Internal Revenue Service blocked the ability of states to create charitable vehicles for taxpayers to pay local taxes to and avoid the $10,000 cap.

In a statement, Cuomo called the IRS determination “entirely unacceptable.”

“Today we are filing an additional lawsuit with New Jersey and Connecticut in the Southern District of New York challenging the IRS’s final rule that undermines states’ efforts to protect our taxpayers against the unprecedented, unlawful and politically motivated capping of the SALT deduction,” Cuomo said in a statement.

“The final IRS rule flies in the face of a century of federal tax law that says state choices to provide tax incentives for charitable donations do not affect the federal deductibility of those gifts. It will—for the first time and solely in the name of retribution—require taxpayers to subtract the value of state or local tax credits from their federal charitable deduction.”