Sweden's Loreen won Eurovision 2023 with the song "Tattoo" in Liverpool, northern England, becoming the first woman to triumph twice in the contest.
Finland's Käärijä, a green-bolero-sleeved rapper, came second. He won the viewer vote with Cha Cha Cha, but it was not enough to overtake Loreen's lead after the result from the juries in the 37 participating countries.
"I am seriously overwhelmed," Loreen told reporters.
Comparing her win to 2012, she said: "It's like coming back to a family."
Loreen is the only person after Ireland's Johnny Logan to win the contest twice, and her victory puts Sweden level with Ireland as the most successful Eurovision countries, 49 years after Abba's famous victory.
The 67th edition of the musical festival was held in the "City of Pop" on behalf of Ukraine, last year's winner, which was unable to host this year because of Russia's invasion.
Kalush Orchestra, 2022's winner, mixed video recorded in Ukraine with live performance in Liverpool in an opening sequence that included a cameo appearance from Britain's Kate, Princess of Wales, playing the piano.
Ukrainian President Volodymyr Zelenskiy was barred from addressing worldwide viewers - who numbered 160 million last year - by contest organiser the European Broadcasting Union. It said that granting his request, which was made with "laudable intentions", would be against the non-political nature of the event and its rules prohibiting making political statements.
Nonetheless, the show, watched by thousands in person on the banks of the River Mersey and by millions on TV, was infused with the spirit of Ukraine, notably in a rendition of You'll Never Walk Alone jointly sung in the arena and in Ukraine and which brought many in the audience to tears.
The 26 acts in the final spanned musical styles from ballads to heavy rock to rap, and included a handful of bizarre performances that the contest is renowned for.
Germany finished bottom of the table, just behind Britain, but no country received the dreaded "nul points".