A New York state judge has thrown out two of the claims in a former Sullivan & Cromwell associate’s sexual orientation bias suit against the firm.

Aaron Charney sued the firm in January, alleging that partners discriminated against him because he is gay, mostly through persistent insinuations that Charney was involved in a relationship with a fellow associate, Gera Grinberg, and that such a relationship was inappropriate.