Riding a wave of public fury over corruption, liberal lawyer Zuzana Caputova won Slovakia's presidential election on Saturday, bucking a trend that has seen populist, anti-European Union politicians make gains across the continent.

Corruption and change in political style were the main themes ahead of the run-off vote, which took place a year after journalist Jan Kuciak, who investigated high-profile fraud cases, and his fiancé were murdered at their home.

Ms Caputova, a pro-EU political novice who will be the euro zone country's first female president, had 58.3 per cent of the vote after results from 98.1 per cent of districts were counted, ahead of European commissioner Maros Sefcovic who took 41.7 per cent.

Mr Sefcovic, a respected diplomat who is also pro-EU, is backed by the ruling party Smer, the largest grouping in parliament that has dominated Slovak politics since 2006.

Ms Caputova, who was the front runner after winning the first round more than 20 points ahead of Mr Sefcovic, campaigned to end what she called the capture of the state by people pulling strings from behind, a message that opinion polls show resonated with younger, educated voters.

The far-right politicians winning power across Europe Show all 7 1 /7 The far-right politicians winning power across Europe The far-right politicians winning power across Europe Viktor Orban – Hungary, Fidesz The Prime Minister of Hungary has threatened to shut down NGOs that help refugees; run a state backed hate campaign against George Soros and removed constitutional checks and balances. He said: 'We have replaced a shipwrecked liberal democracy with a 21st century Christian democracy' Reuters The far-right politicians winning power across Europe Matteo Salvini – Italy, Lega The leader of Italy’s junior governing party has pledged to deport 500,000 irregular migrants; stated joining the euro was a mistake and wants to end sanctions against Russia. He said: 'The only antidote to racism is to control, regulate and limit immigration' AFP/Getty The far-right politicians winning power across Europe Heinz-Christian Strache – Austria, FPO The deputy prime minister of Austria wants to drive Islam out of public life in Austria; has threatening mosque closures and wants to end sanctions against Russia. He said: 'Let us put an end to this policy of Islamisation as soon as possible' AFP/Getty The far-right politicians winning power across Europe Marine Le Pen – France, Front National The runner-up in the French presidential election wants policies to favour ‘native’ French; has stated she would hold an EU referendum and wants to deport irregular migrants. She said: 'I’m not offended when I hear President Donald Trump say "America first". In fact, I want America first for the American people, I want Britain first for the British people and I want France first for the French people' AP The far-right politicians winning power across Europe Janez Jansa – Slovenia, Slovenian Democratic Party The leader of Slovenia’s largest party says the country is run by a secretive former communist cabal; has appointed political allies to press agencies and was sent to prison for alleged corruption which was later overturned by the Constitutional Court. He said: 'Our party puts Slovenia, Slovenians first' Reuters The far-right politicians winning power across Europe Alexander Gauland – Germany, AfD The leader of the first far-right party in the Bundestag in decades says Islam is not a part of Germany; wants a ban on public Islamic symbols and wants to leave the euro. He said: 'A German or English football team hasn’t been German or English in the classical sense for a long time' Alamy The far-right politicians winning power across Europe Jarosław Kaczynski – Poland, Law and Justice The chairman of Poland’s governing party says migrants spread infectious diseases; wants to ban gay people from being teachers and has sought to implement constitutional changes to give government more power over courts. He said: 'It is absolutely clear a homosexual should not be a teacher' Kacper Pempel/Reuters

The 45-year-old member of a liberal non-parliamentary Progressive Slovakia party – which she pledged to leave if elected – has been endorsed by opposition parties and a junior party in the ruling coalition that represents the ethnic Hungarian minority, as well as outgoing president Andrej Kiska.

Ms Caputova started her acceptance speech by thanking voters in Slovak, as well as in the Hungarian, Czech, Roma and Ruthenian languages, turning to all main minority groups.

"I am happy not just for the result but mainly that it is possible not to succumb to populism, to tell the truth, to raise interest without aggressive vocabulary," she told a crowd of supporters.

"This started in the local election last year, was confirmed in the presidential election, and I believe the European [parliamentary election in May] will confirm it as well."

'Slovakia’s Erin Brockovich'

Slovakia's president wields little day-to-day power but appoints prime ministers and can veto appointments of senior prosecutors and judges.

Five people have been charged with the murders of Kuciak and his fiancé Martina Kusnirova, including businessman Marian Kocner, who was investigated by Kuciak, and who has become a symbol of perceived impunity after more than a decade of rule by Smer. Mr Kocner denies any wrongdoing.

The killings ignited the biggest protests in Slovakia's post-communist history and forced the resignation of Smer leader Robert Fico as prime minister last year.

Ms Caputova had waged a 14-year fight with a company Mr Kocner represented that wanted to build an illegal landfill in her home town. She eventually won the case, earning her the nickname "Slovakia's Erin Brockovich" after the American environmentalist portrayed by Julia Roberts in a 2000 film.

Tony Blair: Populist forces across Europe will grow in intensity

Ms Caputova's victory complicates Mr Fico's plan to leave politics by becoming head of the Constitutional Court – a position vetted by the president.

It may give a boost to opposition parties looking to replace Smer, still the most popular party, in next year's general election.

But political analysts have said a socially liberal president will also mobilise Smer and anti-system voters, a fight already foreshadowed by Mr Fico this week when he referred to liberals as "people without values".

Mr Fico's Smer is a social democrat party but has also taken socially conservative positions. A row with the president could make Mr Fico push the country closer to eurosceptic and socially conservative leaders in neighbouring Hungary and Poland.

There was an indication of that this week when Smer teamed up with the centre-right Slovak National party, the far-right People's Party-Our Slovakia and the populist We Are Family movement to halt ratification of a European treaty designed to combat violence against women.