A judge has thrown out the criminal case against Rensselaer County District Attorney Joel Abelove.

Acting Supreme Court Judge Jonathan D. Nichols of Columbia County dismissed the indictment -- connected to the fatal officer-involved shooting of Edson Thevenin in 2016 -- on Monday, according to a spokesperson for Abelove's office. Then-State Attorney General Eric Schneiderman convened a grand jury in the case in 2017, and Abelove faced two counts of official misconduct and one count of first-degree perjury.

The case was thrown out, according to the decision, due to a lack of jurisdiction by the AG's office to prosecute the perjury charge.

“Our indictment detailed a disturbing pattern of misconduct that violated the law and undermined a criminal investigation. We respectfully disagree with the court’s decision and are determining how best to move this critical case forward," said Amy Spitalnick, press secretary to current AG Barbara Underwood, in a statement.

Abelove was not shy in his criticism of the now-former AG Schneiderman, who resigned last month amid assault allegations.

"This was nothing more than a political hit job by the attorney general's office," Abelove said. "The now-disgraced Attorney General Eric Schneiderman came after me with a vengeance. I've maintained my innocence. I know to this day that I've done nothing wrong."

Full text of judge's decision