A California appellate court has tossed a criminal jury verdict, finding that prosecutors improperly used peremptory strikes on two gay jurors.

A divided panel of the Third District Court of Appeal on Thursday found that, on top of legitimate concerns about the jurors, the prosecutor had also said the openly gay men might be biased against the victim and lead witness in the case, a closeted gay man.