New York’s top prosecutor was “in dereliction of her duties” by leaving former Gov. Andrew Cuomo undefended in a sexual harassment claim brought by a state police trooper against him last year, a lawsuit filed in a Manhattan trial court alleges.

Cuomo’s New York City-based lawyer, Rita Glavin, filed the lawsuit on Wednesday against Attorney General Letitia James, asking the court to order the state to pay for his legal expenses in the lawsuit against Cuomo by the state trooper.