SPRINGFIELD, Ill. (AP) — Dissatisfaction with Governor Bruce Rauner’s handling of the state budget crisis played a role in Democrat J.B. Pritzker’s election as governor Tuesday.

Nearly two-thirds of voters in Illinois disapproved of the Republican’s handling of a two-year budget stalemate with legislative Democrats, and about three-quarters of them voted for Pritzker.

That’s according to results from AP VoteCast. VoteCast is a nationwide survey of more than 115,000 voters and 20,000 nonvoters conducted for The Associated Press by NORC at the University of Chicago.

The one-term Republican’s labeling of Democratic candidates as corrupt machine politicians failed too. VoteCast found that 79 percent said corruption in Illinois’ government is a “major problem.”

Pritzker apparently led among those who considered corruption to be a major problem, 51 percent to 41 percent.

Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.