CHICAGO (AP) — Eileen O’Neill Burke, a former appellate judge, has won the Democratic primary for Cook County state’s attorney over Clayton Harris III, an attorney with party backing.

O’Neill Burke expressed her appreciation to voters across Cook County in the following statement:

It was worth the wait. I am so honored to be the Democratic nominee for Cook County State’s Attorney.

I’d like to congratulate Clayton Harris on a hard-fought campaign. While we may have had our differences in this election, we share a love for our beautiful city and Cook County.

If I’ve learned one thing during this process, it’s that there is so much more that unites us than what divides us.

Across every neighborhood and every town in Cook County, people told me the same thing: we want a fair criminal justice system that works for everyone. We want a professional and effective State’s Attorney’s Office. We want illegal guns and assault weapons off our streets. We want less crime and safer communities, not by locking everyone up, but by turning people around.

Whether you voted for me or not, I promise to work tirelessly as your State’s Attorney. I still feel the pride in my chest swell up when I remember stepping up in court as a young prosecutor and saying I was there on behalf of the People.

The State’s Attorney’s office has a noble mission to represent victims and uphold the law. It’s a solemn obligation that I will take on with humility and dedication.

Thank you for your faith in me. Together, I know we can build a safer, stronger Cook County.”

Statement from Eileen O’Neill Burke 

The race is open because State’s Attorney Kim Foxx decided not to seek a third term. It was among the most spirited and competitive contests in the March 19 Illinois primary. The Associated Press called that race Friday.

O’Neill Burke led in fundraising, in part with money from top Republican donors, but Harris had numerous endorsements including from labor unions and progressive and establishment Democrats.

The race is the latest example of how the legacy of progressive Democrats who swept into big city prosecutor offices over the past decade has fractured. In other cities, progressive Democrats have faced tough reelection bids with blame on progressive policies for perceptions that cities are less safe. Candidates in the Chicago area both praised and criticized Foxx’s leadership.

O’Neill Burke served as judge both in appellate court and in Cook County. She was also an attorney in the state’s attorney’s office.

Since Cook County is largely Democratic, O’Neill Burke is expected to win the November election. Republican Alderman Bob Fioretti and Libertarian Andrew Charles Kopinski are also running.