Pennsylvania Gov. Tom Wolf cruised to re-election Tuesday on a wave that many of his supporters said had as much to do with President Donald Trump as it did with his actual opponent, Scott Wagner.

On Wednesday, with 9,103 out of 9,160 districts reporting, Wolf, a Democrat, had 2,843,656 votes — or 57.64 percent. Wagner, a Republican, had 2,013,649 (40.82 percent), according to unofficial election results from the Pennsylvania Department of State.

During a speech at The Bond in York, Wolf told his supporters that Pennsylvanians voted for a state that has "a really bright future" and for "a public service that actually has integrity, that you can trust."

Watch:5 things to know about Tom Wolf, Pennsylvania's governor

More:Pennsylvania women break record, make history in 2018 midterm election

Wolf briefly spoke and reiterated something that he said after his first election.

"Four years ago, I stood before you and said, ‘You know, we have a lot of work to do, so let’s get started,'" Wolf said. "Tonight, I have basically the same message: We still have a lot of work to do. So let’s get back to work, all right?"

That work involves moving back to the center and bringing everyone together, regardless of political party, said Kevin Schreiber, president and CEO of the York County Economic Alliance and a former state representative.

"Now begins the next day of reaching bipartisanship," Schreiber said.

The Pennsylvania General Assembly is projected to remain under Republican control.

Wolf, he said, "has proven he has made consistent strides to try and reach across that aisle." Republicans have as well.

Meanwhile, Wagner delivered a reserved and folksy concession speech to his supporters at the Wyndham Garden York in West Manchester Township.

More:Scott Perry wins 10th Congressional over George Scott

More:Republican Rep. Lloyd Smucker wins re-election in new 11th Congressional district

Wagner did not congratulate his opponent in the speech. But he said he made one request of the governor when they spoke on the phone.

“I said, ‘Governor Wolf, I’m asking you to do something about the seniors that are losing their homes to taxes,'" said Wagner, who's a former state senator and owner of the waste-hauling business Penn Waste.

He reminisced about the campaign for governor and his meteoric rise in Pennsylvania politics.

In 2014, Wagner became the first person to win election the Pennsylvania State Senate via write-in. He defied GOP leaders. Four years later, the Pennsylvania Republican Party endorsed him for governor.

“It’s been a great journey,” Wagner said. “And I have no regrets.”

The speech was, at times, lighthearted.

Wagner joked that he “bought a record number of goats." He thanked everyone in the crowd for their support.

“We love all of you. We appreciate the friendships,” Wagner said. “And you might get a goat next year.”

Wolf was first elected in 2014. He previously ran the Wolf Organization, the family kitchen cabinet and building products business, and served as state revenue secretary.

He defeated three opponents in the Democratic primary that year: U.S. Rep. Allyson Schwartz, State Treasurer Rob McCord and Katie McGinty, a former secretary of the Pennsylvania Department of Environmental Protection. Wolf and his wife, Frances, poured $10 million into the campaign.

Next, Wolf became the first person in the state’s modern political era to unseat an incumbent, Gov. Tom Corbett.

In his first term, Wolf signed legislation to reform pensions, legalize medical marijuana and modernize the state liquor system. He also touted how he added money for education and expanded Medicaid to 720,000 Pennsylvanians.

He refused to take a pension and donated his salary.

But he also failed to deliver on other campaign promises, including to get a tax on natural gas drilling.

Both Wolf and Wagner are millionaire businessmen from York County. But they couldn’t be more different.

Wolf has an Ivy League education and was once likened to Mister Rogers. Meanwhile, Wagner dropped out of community college and previously told abc27, “Donald Trump is actually a mini-Scott Wagner.”

At Wolf's election watch party, supporters of the governor and his running mate, Braddock Mayor John Fetterman, cheered and clapped, sometimes clinking wine glasses, as election results rolled across MSNBC.

Wolf, 69, of Mount Wolf, will become the first person from York County to serve two terms as governor of Pennsylvania. Furthering that hometown feeling is the fact that Fetterman is also a York County native.

Alan Vandersloot, who's with the York-Adams AFL-CIO, said Wagner was a risk too great for unions in Pennsylvania. Others said women’s healthcare was a motivating factor for choosing Wolf. Wagner’s controversies, they also said, made him unfit for office.

Wolf's event was stacked with with prominent Democrats from York County, including York County Commissioner Doug Hoke.

READ:A voter's guide to the 2018 election in York County

The victory hardly comes as a surprise.

Every independent poll conducted in the race had Wolf up by double-digits. In a Franklin & Marshall College Poll conducted right before Election Day, Wolf had a 26-point lead over Wagner.

For many people, political commentators said on TV, the midterm election was a protest vote. One local pollster agreed.

“Well, the Democrats are certainly protesting Trump — a big motivating factor for them,” said G. Terry Madonna, a political scientist and director of the Franklin & Marshall College Poll.

Wagner, he said, "made mistakes that hurt him." That includes not developing an agenda that resonated with voters.

During the campaign, Wolf kept a relatively low profile and agreed to only one debate, much to the ire of his opponent. (“Jeopardy!” host Alex Trebek moderated the debate — which people on both sides of the political aisle panned.)

For his part, Wolf repeatedly told reporters that the campaign was a months-long debate.

He mostly stuck to his record. Meanwhile, Wagner, 63, of Spring Garden Township, released plans to improve education, assist struggling cities and combat the opioid crisis.

But, as he’s known to do, Wagner also made controversial comments that political scientists believe damaged his campaign.

In a Facebook Live, Wagner said he was going to “stomp all over” Wolf’s face with golf spikes and win the election.

The video drew widespread condemnation, including from leaders such as U.S. Rep. Steve Scalise, the House Majority Whip who was wounded in the attack on congressional Republicans at a baseball field.

Wolf is the 47th governor of Pennsylvania and the second from York County.

George Leader served as governor from 1955 to 1959.

Contact Dylan Segelbaum at 717-771-2102 and Candy Woodall at 717-771-2047.