Ogle County will have a new state's attorney this fall.
Challenger Eric Morrow defeated current state's attorney Michael Rock Tuesday in the Republican Primary 4,925 votes to 4,448.
"If these numbers ring true I am excited and I look forward to serving the people in Ogle County," said Morrow minutes after the last precinct reported.
Rock was planning on calling Morrow. "I am going to call Eric tonight to congratulate him," said Rock Tuesday evening.
Rock will continue serving as state's attorney through Dec. 1.
"When we get closer to the fall we will work together to ensure a smooth transition," Rock said. Rock, 47, Byron, was appointed state's attorney in January 2013 after then state's attorney Ben Roe was appointed as a judge.
Tuesday's primary election was the first time voters weighed in on who they wanted as the county's prosecutor to replace Roe.
Morrow, 38, Oregon, graduated law school in 2000 and was an assistant state's attorney before joining the law firm of Smith, Hanson, Morrow, and Floski in 2002.
Morrow also serves as an Ogle County public defender.
Morrow is cautiously optimistic with his chances in the November general election.
Currently no independents or Democrats are on the ballot leaving Morrow running unopposed for the general election.
"If elected (in November) I would like to work with Mike Rock and the staff to ensure a smooth transition," said Morrow.
The term as state’s attorney will be for two years, which is the remaining half of Roe’s post.