His attorney had applied for a court program for first-time felony offenders that would have seen the charges dropped if he completed drug treatment and other conditions, but a judge ruled he was not eligible because one of the charges is a third-degree felony, said Prosecutor Carol O???Brien.Prosecutors dismissed 26 other charges as part of a plea deal.