Gov. Andrew Cuomo signed into law Monday the bill that gives congressional Democrats access to President Trump’s New York tax filings.

The legislation green lights the state Department of Taxation and Finance to release Trump’s tax returns following a written request “for a specified and legitimate legislative purpose” made by at least one of three congressional committees — the House Ways and Means Committee, the Senate Finance Committee and the Joint Committee on Taxation.

Information that violates state or federal law or poses an “invasion of personal privacy,” like social security numbers or personal addresses, would be redacted.

The measure only includes the filings of Trump and other elected officials, not private citizens.

But Republican critics argue it’s a political ploy, and Chair of the House Ways and Means Committee Rep. Richard Neal (D-Massachusetts) has said the move is unnecessary as Congress probably won’t act on the powers granted.