In a surprising turn of events, it appears that Bemus Point attorney Neil Robinson defeated acting Chautauqua County District Attorney David Foley for the Republican nomination.
With 93 percent of the votes in, Robinson was leading 2,707 to 1,927.
Foley was appointed district attorney by Gov. George E. Pataki earlier this year following the departure of James Subjack.
Robinson worked in the DA's office from 1977 to 1996. Foley had the backing of the Chautauqua County Republican Party's Committee along with the Conservative Party's support. Robinson has the Independence Party line.
The candidates shared similar in political views, with Foley touting his recent prosecutorial experience and Robinson his many years of work in the DA's office.
Robinson faces Kenneth Lasker, the Democratic endorsed candidate, in November's election.
In the Independence primary for county clerk, Lori Cornell, a Democrat, was leading incumbent Sandra Sopak, a Republican. With 72 percent of districts reporting, Cornell led Sopak 169 to 134.
All results are unofficial.