Judge William Martin’s order, issued Friday, is a welcome victory for the San Jose city attorney’s office, which in the last six months has been hammered by two juries in employment discrimination and harassment suits.

In granting the city’s motion for a new trial, Martin found the verdict wasn’t supported by the evidence and that the nearly $1 million awarded in damages constituted punitive damages, which are not recoverable against government entities.