The Democratic-led state Senate on Wednesday approved a pair of bills that take an aggressive posture with President Donald Trump by limiting his ability to pardon people and providing Congress with access to his state tax filings.

The bills are written broadly: The so-called double jeopardy loophole measure would limit any president’s pardon powers by allowing local prosecutors in New York to bring cases against former administration staffers or people related to a president who have been pardoned. The tax legislation would allow Congress to request any state tax filing.

However, the bills are done with the intent of aiding investigations by either Democratic Attorney General Letitia James and congressional inquiries. Democratic lawmakers in the House of Representatives are pursuing efforts to gain access to the president’s federal tax filings, which he has so far not released voluntarily.

“We do want to send a message that no one is above the law. Not the president, or anyone else, is above the law,” said Sen. Mike Gianaris. “If we have the power in New York to take steps, because we’re in a unique position for people to comply with legitimate requests from the federal government, that should happen.”

Republicans blasted the bills as a distraction and a politically motivated effort.

“This is a blatantly political act,” said Senate Minority Leader John Flanagan. “We should be spending our time worrying about what we’re doing for New Yorkers.”

Sen. Jim Tedisco indicated he would introduce a bill that would curb the governor’s ability to issue pardons. Tedisco, a Republican who represents suburban Albany, said the bills were meant in part to act as a distraction from economic successes.

“What it’s trying to do is distract the executive at the federal level,” Tedisco said. “I don’t think they want to talk about the record that’s taking place around the economy.”

Democrats in the Assembly are expected to discuss the tax legislation in a closed-door meeting on Monday, said Assemblyman David Buchwald, the bill’s sponsor in that chamber.

“We need to do something under the recognition that there’s a need for transparency that’s been shown by the president’s actions,” Buchwald said.

The New York Times reported Tuesday that a decade of the president’s taxes between 1985 and 1994 showed a $1 billion loss during that time.

It’s not clear if the president or his allies will seek to block the measures in New York if they become law.

“I don’t think the president is known to be litigious,” deadpanned Sen. Brad Hoylman, a Democrat who sponsored the tax bill, “So, no.”