Portugal has won the Eurovision Song Contest for the first time, narrowly beating Bulgaria and Moldova in a nail-biting grand final.

Former X-Factor contestant Lucie Jones provided the UK with its highest score since 2009, finishing in 15th place with 111 points.

Salvador Sobral's poignant song Amar Pelos Dois emerged victorious with 758 points, with the 27-year-old describing his win as a "victory for music".

Portugal are the longest-running contestants never to have won the competition, despite trying for 53 years.

In pictures: Eurovision song contest 2017 Show all 55 1 /55 In pictures: Eurovision song contest 2017 In pictures: Eurovision song contest 2017 Portugal's Salvador Sobral celebrates after winning the grand final of the Eurovision Song Contest 2017 Reuters In pictures: Eurovision song contest 2017 Portugal's Salvador Sobral holds the trophy as he celebrates on stage after winning during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Portugal's Salvador Sobral celebrates with team during the voting at the Eurovision Song Contest 2017 Reuters In pictures: Eurovision song contest 2017 IMRI of Israel performs his song 'I Feel Alive' at the grand final show of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Israeli singer representing Israel with the song 'I Feel Alive' Imri Ziv performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Polish singer representing Poland with the song 'Flashlight' Katarzyna Mos aka Kasia Mos performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Polish singer representing Poland with the song 'Flashlight' Katarzyna Mos aka Kasia Mos performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Belarussian indie pop band representing Belarus with the song 'Story of my life' Naviband composed by Belarussian singer and guitarist Artem Lukyanenko and Belarussian singer and pianist Ksenia Zhuk perform on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Naviband from Belarus perform during the Grand Final of the 62nd annual Eurovision Song Contest 2017 EPA In pictures: Eurovision song contest 2017 Austrian singer representing Austria with the song 'Running on air' Nathan Trent performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Austrian singer representing Austria with the song 'Running on air' Nathan Trent performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Singer Artsvik, representing Armenia, performs the song 'Fly With Me' during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Artsvik of Armenia performs her song 'Fly with Me' at the grand final final show of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Amy, Shelley and Lisa Vol of the band OG3NE, representing the Netherlands, are seen on stage during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Amy, Shelley and Lisa Vol of the band OG3NE, representing the Netherlands, perform the song 'Lights and Shadows' during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Sunstroke Project, representing Moldova, perform during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 SunStroke Project representing Moldova with the song 'Hey Mamma', perform on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Singer Joci Papai, representing Hungary, is seen on stage during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Representing Hungary with the song 'Origo', Papai Jozsef aka Papai Joci performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Singer Anja, representing Denmark, on stage during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Anja from Denmark performs during the Final for the Eurovision Song Contest 2017 AP In pictures: Eurovision song contest 2017 Francesco Gabbani of Italy performs his song 'Occidentali’s Karma' at the grand final final show of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Singer Francesco Gabbani, representing Italy, during the final of the 62nd Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Representing Portugal with the song 'Amar Pelos Dios', Salvador Vilar Braamcamp Sobral aka Salvador Sobral performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Portugal's Salvador Sobral performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Representing Azerbaidjan with the song 'Skeletons', Diana Hajiyeva aka Dihaj gestures as she performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Representing Azerbaidjan with the song 'Skeletons', Diana Hajiyeva aka Dihaj performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Croatian singer and songwriter representing Croatia with the song 'My Friend', Zeljko Houdek aka Jacques Houdek performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Zeljko Houdek performs the song 'My Friend', on stage during the Grand Final rehearsal of Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Isaiah Firebrace from Australia during the Final for the Eurovision Song Contest 2017 AP In pictures: Eurovision song contest 2017 Isaiah Firebrace of Australia performs with the song 'Don't Come Easy', during the Grand Final rehearsal of Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Demy from Greece during the Eurovision Song Contest 2017 AP In pictures: Eurovision song contest 2017 Demy from Greece performs the song 'This is Love', during the final of the 62nd annual Eurovision Song Contest 2017 EPA In pictures: Eurovision song contest 2017 Spanish singer, songwriter, and guitarist representing Spain with the song 'Do it for yor lover', Manel Navarro performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Spain's Manel Navarro performs the song 'Do It For Your Lover' during the Eurovision Song Contest 2017 Reuters In pictures: Eurovision song contest 2017 JOWST from Norway during the Final for the Eurovision Song Contest 2017 AP In pictures: Eurovision song contest 2017 Representing Norway with the song 'Grab the moment' JOWST performs during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Lucie Jones of United Kingdom performs her song 'Never Give Up on You' at the grand final final show of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 British singer representing United Kingdom with the song 'Never give up on you', Lucie Jones performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Hovig of Cyprus performs his song 'Gravity' at the final of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Cypriot singer representing Cyprus with the song 'Gravity', Hovig Demirdjian performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Ilinca Bacila and Alex Florea representing Romania with the song 'Yodel it', perform on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Ilinca Bacila and Alex Florea representing Romania with the song 'Yodel it', perform on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Isabella Levina representing Germany with the song 'Perfect life' performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Isabella Levina representing Germany with the song 'Perfect life' performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 O.Torvald from Ukraine during the Final for the Eurovision Song Contest 2017 AP In pictures: Eurovision song contest 2017 O.Torvald from Ukraine perform the song 'Time' during Grand Final of the 62nd annual Eurovision Song Contest 2017 EPA In pictures: Eurovision song contest 2017 Blanche of Belgium performs her song 'City Lights' at the final of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Blanche of Belgium performs the song 'City lights', on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Robin Bengtsson of Sweden performs the song 'I can't go on', on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Robin Bengtsson of Sweden performs the song 'I can't go on', on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 Kristian Kostov of Bulgaria performs his song 'Beautiful Mess' at the grand final show of the Eurovision Song Contest 2017 Rex In pictures: Eurovision song contest 2017 Bulgarian-Russian singer Kristian Kostov representing Bulgaria with the song 'Beautiful mess', performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 French singer Alma, representing France with the song 'Requiem' performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images In pictures: Eurovision song contest 2017 French singer Alma, representing France with the song 'Requiem' performs on stage during the final of the 62nd edition of the Eurovision Song Contest 2017 Getty Images

Amor Pelos Dois was written by Sobral's sister, Luisa, who finished third in Portugal's version of Pop Idol – the same contest that the Eurovision winner finished seventh in.

As Sobral collected the trophy, Graham Norton – who provided the commentary for the ceremony – noted that the singer looked as “nonplussed now as he has throughout this competition” despite not being touted as a favourite throughout this week's semi-finals.

In his winner's speech, Salvador hit out at “disposable” music in the world stating: “Music is not fireworks, music is feeling, so let's try to do this and bring music back which is what matters.”

Response to Lucie Jones's performance of ballad Never Give Up On You was overwhelmingly positive both in the arena and among viewers at home, with reports suggesting Eurovision experts had been impressed with the singer's performance in rehearsal in the week leading up to the grand final.

Last year, the UK came 24th with duo Joe and Jake's song You're Not Alone picking up 62 points – better than 2015's effort, Still in Love with You by Electro Velvet, which won just five points.

Croatia, whose performance saw singer Jacques Houdek perform what looked like a duet with a giant VT version of himself, finished in 13th place.