A prosecutor must try his friend, a deputy district attorney, who has been charged with murdering his wife and her lover.