ROCHESTER, N.Y. — The Democratic Party pulled off several wins in Tuesday night’s elections in New York state.

“It was clearly a Democratic upset last night. I think Republicans were surprised by the number of victories,” said Tim Kneeland, political expert and professor at Nazareth University.

Those victories include Democrats controlling the Onondaga County Legislature for the first time in 50 years, the town of Greece electing its first Democratic supervisor in over 100 years and both Albany and Syracuse electing their first woman of color as mayor, Dorcey Applyrs and Sharon Owens, respecivly.

Kneeland says the Democratic wins across the state reflect a shift in the national mood.

“The public is not happy with the Trump administration and the government shutdown,” he said. “I think this got them out in what we consider an off-year election.”

It’s a shift local Republican leaders noticed as well.

“There’s some trickle down to the county level,” said Peter Elder with the Monroe County Republican Committee. “Our job at the county level is to work with the voters to understand the good government that works for them.”

Kneeland says another key factor in these wins was the types of campaigns the Democrats ran. He calls them savvy and ones that were able to reach voters of all ages.

“In Greece, one of the biggest victories, [Jeffery] McCann ran a great campaign. He ever really said, ‘I’m a Democrat.’ He talked about roots in the town, showed up on social media and TV ad [and] handed out flyers,” said Kneeland.

President Donald Trump addressed the sweep of Democratic wins across the country at the White House on Wednesday morning.

“I don’t think it was good for Republicans. I’m not sure it was good for anybody,” Trump said. “But we had an interesting evening, and we learned a lot.”

What do these results say about next year’s midterm elections? Kneeland says it will be a challenge for Republicans to reclaim power across the state.

“Once these Democratic supervisors take over, it’s going to be harder to oust them. Especially, if they deliver on their promises,” said Kneeland. “This might not bode well for the Republican Party in New York at all.”

“It was hard to predict,” Elder said. “Elections are always hard to predict, and that’s why you fight as hard as you can every moment.”