SAN FRANCISCO — A California jury ruled Friday to clear venture capital firm Kleiner, Perkins, Caufield and Byers of gender discrimination in a lawsuit brought by a former woman partner, but the judge ordered jurors to resume deliberations on a claim of retaliation.

The jury in California Superior Court decided that gender was not the reason Kleiner did not promote the partner, Ellen Pao. The jury cleared Kleiner on three claims and voted eight to four in favor of Kleiner on a fourth claim by Pao that the firm retaliated against her after she sued in 2012.

To deliver a verdict, at least nine jurors must agree and the judge ordered jurors to resume deliberations.

The case laid bare the personnel matters of the firm that backed Google Inc and Amazon.com Inc, with Pao’s attorneys painting Kleiner as a quarrelsome pressure cooker where a former male partner used business trips as opportunities to make advances to female colleagues.

Pao, now interim chief executive at social-news service Reddit, claimed her standing at Kleiner crumbled after she ended a brief affair with partner Ajit Nazre. Her career deteriorated after he and Kleiner started retaliating against her, amid a climate that was overall unfriendly toward women, her lawyers argued.

The firm disputed those charges, presenting evidence that Kleiner went out of its way to hire women.

Pao sought to illustrate her point with testimony from former Kleiner partner, Trae Vassallo, who said Nazre appeared at her hotel room on a business trip. He wore a bathrobe and carried a glass of wine, according to testimony. He later left the firm.

Some witnesses, including Pao’s onetime mentor John Doerr, have testified that Pao’s lack of advancement stemmed from subpar performance, not discrimination or retaliation.

This article originally appeared at NBCNews.com