ALBANY, New York — The Democrat-led New York state Legislature on Wednesday gave final approval to a bill that would let key congressional committees request copies of President Donald Trump’s state tax returns.

The Senate passed the measure earlier this month and the Assembly did so Wednesday.

It will now head to Gov. Andrew Cuomo’s desk for his signature, and the Democratic governor has indicated he would sign the bill.

“Particularly for the person in the most powerful office in the land, let alone the entire world, it is incumbent to make sure that policy making is based on what is in the best interest of the people of the United States, not what is in a personal private interest,” said Assemblyman David Buchwald, D-White Plains, who sponsored the bill.

What would happen next?

The issue will likely end up in the courts if congressional committees use the state law to try to obtain Trump’s taxes, which he has refused to release publicly or to Congress.

Since Trump is a New Yorker, supporters of the measure are hopeful they can assist the Democrat-controlled House in getting Trump’s taxes in order to scrutinize his private business dealings.

“The entire issue would not have arisen were it not for the president deviating from over 40 years of a tradition in this country of presidential candidates releasing their tax returns and people once they are elected president continuing to make those tax returns available,” Buchwald said.

Trump taxes:IRS memo contradicts Mnuchin, says agency must comply with subpoena for Trump's tax returns

The returns:Treasury Department rejects handing over Trump's tax returns to House Democrats

'Double jeopardy' bill also approved

The state Legislature also passed another bill targeting Trump.

It would allow New York to prosecute Trump associates even if they are pardoned by the president, called the “double jeopardy” bill.

The bill passed the Senate earlier this month and was approved by the Assembly on Tuesday at the urging of Attorney General Letitia James, who is investigating Trump’s business endeavors and is suing the federal administration on dozens of matters.

“Our current ‘double jeopardy’ law, while a well-intended and necessary law, could leave the state vulnerable in instances of abuse of the presidential pardon power,” James said in a statement.

How Congress could get Trump taxes

The tax bill would allow three congressional committees — the House Ways and Means Committee, the Senate Finance Committee and the Joint Committee on Taxation — to request the state Department of Taxation and Finance provide the president's state tax returns.

They could also seek the tax returns of any New York elected officials and top-level appointees and their business entities.

The bill was narrowed in recent days to avoid concerns that it could apply more broadly to all New Yorkers.

Targeting Trump

Under current New York law, sharing state tax return information is allowed only in rare circumstances. The bill would create an exemption when the returns are sought by the congressional committees in any investigations.

“We must ensure that Congress can’t be blocked in their attempts to hold even the highest elected officials in the land accountable to the American people,” Sen. Brad Hoylman, D-Manhattan, the bill’s Senate sponsor.

Republicans have ripped Democrats for targeting the president with the two pieces of legislation, calling the bills an unprecedented attack on a single person.

"Senate and Assembly Democrats have wasted weeks on their singular obsession with getting a peek at President Trump’s taxes," said state Senate Republican Leader John Flanagan, R-Suffolk County.

"And in that time they’ve done absolutely nothing to help hardworking, middle-class taxpayers struggling to provide for their families and make ends meet."