Legislation that would allow associates or family members of President Donald Trump to be brought up on state charges by prosecutors in New York after receiving a federal pardon has hit a snag after some Democrats in the state Legislature were unwilling to support it as written.

Now lawmakers are working with the office of New York Attorney General Letitia James—a major proponent of the legislation—to likely amend the bill a second time before it's approved in both chambers.

The bill would close the so-called “double jeopardy loophole” in New York, which prohibits state prosecutors from bringing state charges against someone pardoned of federal crimes based on the same set of facts. It was first introduced last year by State Sen. Todd Kaminsky, D-Nassau, and Assemblyman Joseph Lentol, D-Brooklyn.