(Bloomberg) -- Romania’s minority government dislodged the opposition mayor of Bucharest, giving it a boost before national elections in December at which it’s seeking to win control of parliament.

Activist and mathematician Nicusor Dan defeated Social Democrat incumbent Gabriela Firea in a ballot on Sunday, pledging to fight corruption that’s delayed reforms and city upgrades. Turnout was slightly higher than in previous ballots despite a worsening Covid-19 pandemic that’s left the Black Sea nation with the worst death toll among the European Union’s east.

Dan pledged to raise transparency within the Bucharest administration after years of questionable acquisitions and contracts. He also vowed to attract European Union funds for urban development, and to improve public transport and reduce traffic in one of Europe’s most congested cities.

Nationwide, the ruling Liberal Party said it won more local mandates than the opposition for the first time in three decades. The Social Democrats said they managed to increase their party’s score from last year’s record low in European elections.

“The mayoral elections in Bucharest have always had a symbolic relevance for the general elections and even more so now, when they’re just three months away,” Dan said in an interview before Sunday’s vote. “I’m optimistic that the alliance between the Liberals and the Save Romania Union party that supported me will govern for the next four years.”

The Liberals lead in polls before the general election on Dec. 6, where they’re desperate to lock in a majority that enables them to rule more effectively through the worst economic slump since communism and a budget that was stretched even before the coronavirus struck. But the Social Democrats are seeking to mount a comeback through populist measures that include a 40% hike in pensions.

Dan’s win “is a very good signal for the Liberal Party,” said political consultant Radu Magdin. “It’s the first sign they’re headed toward a landslide victory in the general election.”

©2020 Bloomberg L.P.