Sweden narrowly beat Russia Sunday in a nail-biting 60th edition of the Eurovision Song Contest, winning its sixth crown in Europe's annual anything-goes music extravaganza.

Forty-one years after Swedish superstars ABBA took the title, chiseled Mans Zelmerlow won 365 points from voters and juries in 40 countries with his up-tempo crowd-pleaser "Heroes".

As the scores were being read out nation by nation via videolink to Vienna, it looked for a while as though Russian Polina Gagarina would take the title with her paean to world peace "A Million Voices".

In the end though her anthem scored just 303 points. Gagarina did however avoid the boos that Russia's singer got last year following Moscow's annexation of Crimea.

Cheeky Italian trio Il Volo came third with 292 points with their rousing, operatic "Grande Amore".

Mans Zelmerlow
Zelmerlow reacts after winning the Eurovision Song Contest final on May 23, 2015 in Vienna. - AFP Photo/Samuel Kubani

Other strong performers among the 27 finalists were Belgian Loic Nottet and Australia's Guy Sebastian, whose country entered for the first time as a wild card for the 60th anniversary.

Ireland, which failed to make it into the final, still holds the record for the number of Eurovision victories with seven trophies to its name.

Sweden's victory means that the contest will be held in Sweden in 2016. It was in Vienna this year following bearded Austrian drag queen Conchita Wurst's win in Copenhagen in 2014.

The prospect of the contest being held in Russia had not been relished by the Patriarch of the Russian Orthodox Church, who said Thursday Eurovision promoted values "repulsive to our soul and our culture".

Geopolitics was present again this year with Armenia's ballad -- described by one magazine as "feeling as long as a Wagner opera" -- widely seen as being about 1915 mass killings by Ottoman Turkey, with the chorus "don't deny".

Turkey, which refuses to recognise the killings as genocide, has been absent from Eurovision since 2012. Another no-show was Ukraine, cash-strapped from the conflict with Russian-backed rebels in its east.


Turkeys, orcs and babushkas

Mostly though the riotous affair, open to the 56 members of the European Broadcasting Union and a world away from its civilised black-and-white beginnings, is about not taking life too seriously.

It is watched every year by around 200 million people worldwide, including in Australia where it has long enjoyed a cult following. This year it was shown in China for the first time, organisers said.

Previous entries have included six Russian grannies, Ireland's irreverent Dustin the Turkey and Finnish heavy metal outfit Lordi -- looking like orcs from "Lord of the Rings" -- who won in 2006 with "Hard Rock Hallelujah".

The lyrics often make no sense, if they are in any recognised language at all, like "Diggi-Loo Diggi-Ley" by golden-booted Swedish Mormon brothers Herreys in 1984, "La La La" in 1968 or Lulu's "Boom-Bang-A-Bang" in 1969.

And who can forget the chorus to Austria's 1977 entry: "Boom boom boomerang, snadderydang. Kangaroo, boogaloo, didgeridoo. Ding dong, sing the song, hear the guitar twang. Kojak, hijack, me and you."

The event has also long stressed tolerance for the unconventional, as witnessed by Israeli transgender Dana International in 1998, Ukraine's Verka Serduchka in 2007 and Austria's Conchita last year.

Her message of openness -- she floated gracefully onto the stage at the start of Saturday's show -- has been enthusiastically adopted by Viennese authorities, including with special gay-themed traffic lights.

"I like the feeling because it's a little bit trashy but it's also very exciting," said one German fan attending for the first time. "I have loved this show for 15 years and watch it every year on television."

Jean-Paul Philippot, chairman of the EBU, told AFP that Eurovision is "the opposite" of talent shows like "The Voice" or "The X Factor".