Sweden participated in and won the Eurovision Song Contest 2012 with the song "Euphoria" written by Thomas G:son and Peter Boström. The song was performed by Loreen. The Swedish broadcaster Sveriges Television (SVT) organised the national final Melodifestivalen 2012 in order to select the Swedish entry for the 2012 contest in Baku, Azerbaijan. After a six-week-long competition consisting of four heats, a Second Chance round and a final, "Euphoria" performed by Loreen emerged as the winner after achieving the highest score following the combination of votes from eleven international jury groups and a public vote.