President Trump on Tuesday sued the New York state attorney general, the state tax commissioner and a Democrat-led House committee to block them from releasing his state tax returns.

Gov. Andrew Cuomo signed the bill, dubbed the TRUST Act, earlier this month that allows the state Department of Taxation and Finance to release Trump’s tax returns after one of three congressional committees — the House Ways and Means Committee, the Senate Finance Committee and the Joint Committee on Taxation — provide a written request “for a specified and legitimate legislative purpose.”

The suit also names state Attorney General Letitia James and state Tax Commissioner Michael Schmidt because they are both Democrats and state officials.

The suit, filed Tuesday in DC District Court, says the House Ways and Means Committee is seeking his returns despite the Treasury Department denying the panel’s request.

It said Treasury Secretary Steven Mnuchin said the committee wants Trump’s returns simply to expose “a political opponent’s private tax information.”

“The State of New York shares this ‘animating purpose’ and is eager to help the Committee expose the President’s” tax documents, the suit says.

It goes on to say that once it became clear that the Treasury Department would not release the president’s taxes, New York passed a law allowing the committee to get his returns.

The suit alleges that Rep. Richard Neal, chairman of the committee, was initially reluctant to use the TRUST Act to go after Trump’s returns, but changed his mind after “facing intense pressure” from his Democratic colleagues and now has the House counsel “reviewing” it.

Following the review, Neal could request the returns without notifying the president.

The suit also says the Ways and Means Committee’s jurisdiction is limited to Trump’s federal taxes and “no legislation could possibly result from a request for the President’s state returns.”

In a statement, the Attorney General’s Office said it has “all the confidence that this law is legal and we will vigorously defend it against any court challenge.”

“The TRUST Act will shine a light on the president’s finances and finally offer transparency to millions of Americans yearning to know the truth,” it said.

Assemblyman David Buchwald, a sponsor of the TRUST Act, predicted the president’s legal challenge will fail.

“It’s no surprise that the president has moved quickly in an attempt to strike down New York’s tax transparency law as he is fighting the release of his tax returns on every front,” Buchwald (D-Westchester) said in a statement.

State Sen. Brad Holyman, the other sponsor, said Trump’s suit is “without merit.”

“New York state has strong interest in this. It’s about the checks and balances in our Constitution, and New York is standing up as a state for a crucial balance of power that our founders imported on us,” Holyman (D-Manhattan) said.