After being free for almost two years, a federal appeals court has ruled that ex-Philadelphia Traffic Court Judge Willie Singletary’s prison sentence needs to be rethought.

Singletary, like all of the other defendants caught up in the Philadelphia Traffic Court ticket-fixing scandal, escaped the government’s primary fraud charges. However, he was convicted on a single charge of lying to the FBI during the 2014 trial and was sentenced to roughly two years in prison.

On Wednesday, the U.S. Court of Appeals for the Third Circuit affirmed the convictions of Singletary’s colleagues on various charges, but vacated the judgment of sentence as to him. Singletary had objected to U.S. District Judge Lawrence F. Stengel’s use of sentencing guidelines for obstruction of justice, arguing that his crime differed.

“The government agrees that the single count on which he was convicted does not contain all of the elements of obstruction,” Third Circuit Judge Richard Nygaard wrote in the court’s opinion. “For this reason, the government agrees with Singletary that he is entitled to a remand for resentencing. Accordingly, we will vacate the judgment of sentence as to Singletary and remand to the district court for resentencing.”

Since Stengel is retiring at the end of the month, a new judge will be assigned to handle the case.

The specific effect of a new sentence on Singletary is unclear, but is likely to have little impact since he has completed both his prison term and one year of supervised release.

His lawyer, William Brennan, said he argued for different guidelines before Singletary even set foot in jail.

“I met with probation and a series of supervisors and a series of assistant U.S. attorneys during the process leading up to sentencing arguing these very points and was met with resistance,” Brennan said.

“When we filed the appeal, Judge Singletary had served his time and the government agreed with our position,” he added. “The problem is you can’t return 20 months to [a] man.”

Robert Zauzmer, chief of the appeals office at the U.S. Attorney’s Office in Philadelphia, said the decision was a win for the government.

“We’re very pleased with the decision. The government prevailed on all of our arguments,” Zauzmer said. “We’re gratified that all the convictions were affirmed.”

Tuesday’s ruling upheld the convictions for former Judges Thomasine Tynes, Michael Lowry, Robert Mulgrew, along with former Traffic Court administrator William Hird and businessman Henry Alfano.

At the conclusion of the two-month Traffic Court corruption trial in the summer of 2014, the jury found Michael Sullivan, Chester County Magisterial District Judge Mark A. Bruno and Chinatown businessman Robert Moy not guilty of all charges against them, which included counts of fraud and conspiracy relating to what authorities claimed was a long-standing practice of fixing tickets for friends, family and the politically connected.

The four full-time Traffic Court judges beat the government’s ticket-fixing charges, but were convicted of lying; Mulgrew, Tynes and Lowry were convicted of perjury stemming from statements made before the grand jury in the case, along with Singletary’s conviction of lying to federal investigators.

Sullivan, however, was later in hot water for separate tax charges for which he was ultimately convicted. Coincidentally, an October 2015 arraignment in Sullivan’s tax case came a day after the last Traffic Court case defendant, auto repair garage and strip club owner Alfano, was sentenced to three years of probation. Alfano admitted to trading pornographic videos, seafood and car repairs to former head Traffic Court Judge Fortunato Perri Sr. in exchange for fixing his friends’ tickets. Perri, who has had multiple strokes and suffers from dementia, was sentenced to two years’ probation.

Prior to the trial, Bucks County Senior Magisterial District Judge H. Warren Hogeland, Delaware County Senior Magisterial District Judge Kenneth Miller, and the former director of records at the Traffic Court, William “Billy” Hird, pleaded guilty to charges related to ticket-fixing.

Hogeland died in August 2013 before he could be sentenced; Miller was sentenced to one year of probation in January based on a single count of mail fraud; and Hird was sentenced to two years in prison after pleading guilty to 18 of the nearly 80 counts filed against him, including conspiracy, wire fraud, mail fraud and lying to the FBI when questioned about ticket-fixing in the court.

The Traffic Court was disbanded by the state legislature in 2013 in the wake of the scandal. Traffic cases are now handled by a division of the Philadelphia Municipal Court.