WASHINGTON (AP) — The Supreme Court on Monday rejected a challenge from New York, New Jersey, Connecticut and Maryland to the 2017 tax law that capped federal tax deductions for state and local taxes.

The lawsuit had previously been dismissed by lower courts. It argued that the Republican-led tax law, signed by then-President Donald Trump, unfairly singled out high-tax states in which Democrats predominate.

READ MORE: How To Avoid Heat-Related Illness This Blistering Weekend

The law caps a deduction for state and local taxes, known as SALT, at $10,000. The lawsuit claimed that lawmakers crafted the provision to target Democratic states, interfering with the states’ constitutionally granted taxing authority.

READ MORE: Person Shot At Owings Mills Pizza Shop

Legislation to raise the cap has passed the House of Representatives but not the Senate.

MORE NEWS: Local Dance Group Invites You To Groove At Jewish Community Center Of Greater Baltimore Block Party

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)