New York’s attorney general on Wednesday urged Gov. Cuomo and other lawmakers to amend a law he says would bar state charges against any associates of President Trump who get pardoned by the commander-in-chief.

Attorney General Eric Schneiderman said New York’s Criminal Procedure Law contains a “double jeopardy loophole” that permits prosecution when a federal conviction gets tossed by a judge or an appeals court, but not following a presidential pardon.

“We are disturbed by reports that the President is considering pardons of individuals who may have committed serious federal financial, tax, and other crimes — acts that may also violate New York law,” Schneiderman said.

“We must ensure that if the President, or any president, issues such pardons, we can use the full force of New York’s laws to bring such individuals to justice.”

Shortly after Schneiderman’s announcement, state Sen. Todd Kaminsky (D-LI), said he ​would introduce legislation “to address the glaring loophole that Attorney General Schneiderman has highlighted.”

“The writers of our state’s strict Double Jeopardy statute did not take into account the President’s pardon power, and certainly did not contemplate the capricious use of that power to undermine the rule of law,” said Kaminsky, a former Brooklyn federal prosecutor.

​Senate Majority Leader John Flanagan (R-LI) ​was reviewing Schneiderman’s letter, spokesman Scott Reif said.

Both Schneiderman and Manhattan District Attorney Cyrus Vance Jr. are reportedly investigating former Trump campaign chairman Paul Manafort, who is awaiting trial on federal money-laundering and tax charges that grew out a probe by Justice Department Special Counsel Robert Mueller into Russian meddling during the 2016 presidential race.

The state investigations involve loans Manafort got from the Federal Savings Bank of Chicago, which is headed by former Trump economic adviser Stephen Calk, according to the New York Times.