In a rare ethical quandary that experts say could serve as a warning for all jurists, a California state judge has recused himself from a murder case after he endorsed the judicial campaign of a prosecutor who’s now accused of misconduct.

Gregg Prickett is among 68 sitting Orange County Superior Court judges listed as public endorsers of senior assistant district attorney Ebrahim Baytieh’s bid for the bench, but he’s the only one who’s since been assigned a case in which Baytieh’s conduct is at issue.