A state prison inmate serving 10 to 20 years in prison for robbery must be given a new trial because he was the victim of a prosecutor’s “dirty trick,” an Eastern District judge has ruled.

Judge John Gleeson also found that the inmate’s appellate lawyers at the Legal Aid Society erred, as did the New York Court of Appeals in concluding that the inmate had been provided with effective assistance of counsel.