A state judge has dismissed an age discrimination claim filed by the one-time administrative officer of the Federal Defenders of New York.

Martin Smith contended that he was laid off illegally in 2013 because he was 81. But Manhattan state Supreme Court Justice Joan Kenney said nondiscriminatory factors appeared to have led to Smith’s termination amid a midyear, 10 percent budget cut following federal sequestration in 2013.