Members of the New York state Assembly vote on legislation that authorizes state tax officials to release, if requested, individual New York state tax returns to Congress, during a session in the Assembly Chamber at the state Capitol, Wednesday, May 22, 2019, in Albany, N.Y. (AP Photo/Hans Pennink)

ALBANY, N.Y. | New York lawmakers gave final passage to legislation Wednesday that would allow President Donald Trump’s state tax returns to be released to congressional committees that have, so far, been barred from getting the president’s federal filings.

The Democrat-led Senate and Assembly both approved the measures Wednesday, sending them to Gov. Andrew Cuomo, a Democrat. A spokesman has said the governor supports the principle behind the legislation but will review the bill carefully before deciding whether to sign it.

Members of the New York state Assembly vote on legislation that authorizes state tax officials to release, if requested, individual New York state tax returns to Congress, during a session in the Assembly Chamber at the state Capitol, Wednesday, May 22, 2019, in Albany, N.Y. (AP Photo/Hans Pennink)

The legislation doesn’t target Trump by name, but it would allow the leaders of the U.S. House Ways and Means Committee, the Senate Finance Committee or the Joint Committee on Taxation to get access to any New York state tax returns filed by elected officials and top appointed officials. The legislation would apply to personal income tax returns, as well as business taxes paid in New York.

An earlier version of the proposal passed the state Senate two weeks ago that would have allowed congressional committees to get any New Yorker’s returns, regardless of whether they held public office. Lawmakers later narrowed the legislation to address concerns that it went too far, prompting the Senate to hold a second vote on the new language Wednesday.

New York Republicans have railed against the bill. John Flanagan, who leads the Senate GOP, called the legislation “troubling” and “bad public policy.”

The proposed changes to state law were made amid a battle going on in Washington over Trump’s federal returns.

Treasury Secretary Steven Mnuchin has said he wouldn’t comply with a congressional subpoena seeking six years of Trump’s tax returns, in part because the request “lacks a legitimate legislative purpose.” U.S. Rep. Richard Neal, D-Mass., chairman of the House Ways and Means Committee, has threatened to go to court to get the administration to comply.

Much of the information on Trump’s state returns would mirror the information included on a federal return, giving the Democrats a potential end-run around the IRS, if they wished to take it.

With New York being Trump’s home state and headquarters of many of his business enterprises, the legislation could give Democrats access to the president’s state tax returns at a time when the White House and Democrats who control the House continue to wrangle over the president’s federal tax returns.

Democrats are seeking six years of Trump’s personal and business tax returns to aid a committee investigation into whether the IRS is doing its job properly to audit a sitting president and whether the law governing such audits needs to be strengthened.

If Congress does request and obtain Trump’s state tax returns, that doesn’t mean the public gets to see them. Under federal law, the confidential information in the returns is supposed to be for the committee’s eyes only.

The New York bills have no time limitation on the tax filings that could be shared with Congress. They require that the returns be requested “for a specified and legitimate legislative purpose,” wording that could ostensibly give state officials the ability to refuse some requests they felt were primarily political in nature.

The New York bills would become law immediately upon being signed by Cuomo, though it could be delayed by a court challenge.

The Associated Press is an independent, not-for-profit news cooperative of 1,300 newspapers, including The Sentinel, headquartered in New York City. News teams in over 100 countries tell the world’s...