Eregious comments in a Brooklyn prosecutor’s summation, and a defense attorney’s elicitation of inadmissible and prejudicial testimony, prompted a unanimous appellate court to overturn the conviction of man serving a 25-year sentence for molesting three children.

The Appellate Division, Second Department, said that even though there was sufficient evidence to convict Naasir Mehmood of various felonies involving the 5-, 11- and 12-year-old children of his paramour, the verdict cannot stand because of the misconduct of an assistant district attorney and the ineffectiveness of a Brooklyn defense lawyer.