A federal judge has thrown out the final remaining claim by former New York Supreme Court Justice Frank V. Ponterio against a group of top court officials who he claimed had retaliated against him by declining to extend his judicial certification.

Southern District of New York Judge Harold Baer Jr. ruled that Ponterio’s “class of one” equal protection claim failed on two counts. Not only had Ponterio failed to satisfy the criteria for such a claim, Baer held, but the defendants were also entitled to qualified immunity.