A federal court judge on Friday dismissed a claim of unlawful retaliation against former New York Gov. Andrew Cuomo by an unnamed state trooper who was part of his protective security detail, and had alleged he touched her inappropriately, among a series of harassing behavior.

The ruling by District Judge LaShann DeArcy Hall of the U.S. District Court of the Eastern District was based largely on Cuomo and the trooper, described in court papers as “Trooper 1,” not having an “employer-employee relationship.”