The Senate rejected an attempt to repeal a Treasury Department rule that thwarts workarounds employed by several states to bypass the $10,000 limitation on state and local taxes that was a key feature of the 2017 tax code overhaul.

The 43-52 vote Wednesday was mostly along party lines, though Kentucky Republican Rand Paul crossed the aisle to vote for the Democrats’ measure, while Colorado’s Michael Bennet, a 2020 Democratic presidential contender, voted against it.

Republicans appeared to relish the chance to turn the tables on Democrats in a tax debate, after having been tagged for favoring businesses and the wealthy in the 2017 law.

“It’s bad enough that my Democratic colleagues want to unwind tax reform, but it’s downright comical that their top priority … is helping wealthy people in blue states find loopholes to pay even less,” Senate Majority Leader Mitch McConnell said as the debate on the repeal resolution began Wednesday.

The resolution does not repeal the SALT cap, though Democrats on the House Ways and Means Committee say they are preparing legislation to at least partially, or temporarily, roll back the $10,000 limitation. The resolution would only repeal the new Treasury and IRS rule blocking features of state tax laws that allow households to get around the $10,000 cap and effectively deduct higher amounts of their state and local taxes from their federal tax returns.