The Brooklyn Democrat was convicted of 21 counts of corruption, for everything from asking for hundreds of thousands of dollars in bribes from undercover FBI agents posing as shady businessmen to stealing money earmarked for seniors to manufacturing fake mileage expenses.

In his appeal, Boyland argued that the jury instructions were "erroneous" in light of a Supreme Court decision in 2016. That case — McDonnel vs. United States — narrowed the definition for "official acts" of corruption.

Still, the three-judge Second Circuit court ruled that the jury instructions in some cases "were erroneous in light of McDonnell" but that does not call for a new trial.

Sheldon Silver leaves court after being sentenced to 12 years on May 3, 2016. (Barry Williams/for New York Daily News)

The decision may have far-reaching ramifications.

The unanimous Supreme Court decision is also the focus of the pending appeals by Sheldon Silver, the former speaker of the state Assembly who was sentenced to 12 years in prison, and Dean Skelos, the former state Senate majority leader.