An attack on homophobia within the Catholic Church, which became a global hit for the Irish singer Hozier, was named the best song of the year at the 60th Ivor Novello Awards.
Take Me To Church, written and performed by Andrew Hozier-Byrne, took the award for Best Song Musically And Lyrically at the Grosvenor House event, which also recognised Clean Bandit and Ed Sheeran.
Take Me To Church has topped the charts in 12 countries and was the most streamed song of 2014. Accompanied by a video depicting a brutal homophobic beating, the song became a viral YouTube hit. It was given a further boost when Taylor Swift urged her fans to buy it and has sold 3m downloads in the US alone.
With its chorus -"Take me to church, I'll worship like a dog at the shrine of your lies, I'll tell you my sins and you can sharpen your knife...", the song has been accused of blasphemy by Christian groups.
Hozier explained: "Take Me to Church’ is essentially about sex, but it’s a tongue-in-cheek attack at organisations that would… undermine humanity by successfully teaching shame about sexual orientation — that it is sinful, or that it offends God."
Accepting the award, Hozier said: "This is a huge deal to me. This time last year I was a complete unknown with a set of songs I'd written and recorded in my attic." He dedicated the award to his mother, who is in hospital.
The singer said he was flying back to Ireland so he could vote Yes in the referendum on same sex marriages. He said it was important that others followed his lead.
John Whittingdale, the new Culture Secretary and a heavy metal fan, led the praise for Black Sabbath, who received a lifetime achievement award, the first acknowledgement of the veteran hard rock band's songwriting skills.
Whittingdale, who attended the awards, said: "Really pleased to see Black Sabbath receive lifetime achievement award at Ivors recognising huge contribution of British heavy metal."
Enjoy unlimited access to 70 million ad-free songs and podcasts with Amazon Music Sign up now for a 30-day free trialSign up
Brian May, the Queen guitarist, who presented the honour, said the West Midlands group were pioneers who legitimised heavy riff-based songwriting with classics such as Paranoid.
Ozzy Osbourne declined to join his bandmates to collect the award - but Bill Ward, the band's original drummer whom the singer said was too overweight to join the band's reunion leading to a public row between the pair, took to the stage with Tony Iommi and Geezer Butler.
Ward said it was "incredible" that the band had joined the pantheon of great writers.
James Napier, the backroom Camden songwriter behind Sam Smith's Grammy-winning Stay With Me, took two awards for his work for Clean Bandit, the Cambridge-educated classical-techno quartet.
Rather Be, the chart-topping upbeat dance track which soundtracks M&S adverts won the Contemporary song and Most Performed Work categories.
Napier thanked his wife Matilda who inspired the lyrics of the song, which reflect his devotion to his partner.
Sir Elton John presented the Songwriter of the Year award to Ed Sheeran, who had been snubbed in the individual categories. Sir Elton, whose management company discovered Sheeran, called the acoustic singer "an immense talent. He will have a career as long as mine if he wants to. I hope he doesn't get into as much trouble as I did. He'll have to marry a man and a woman."
Sheeran's x album sold 6 million copies and he became Spotify's most streamed artist, passing through the one billion barrier.
The Best Album award went to the London indie band Bombay Bicycle Club for their So Long, See You Tomorrow, their fourth collection which mixed electronic textures and world music influences.
Sir Bob Geldof and Midge Ure were presented with the Special Anniversary Award reflecting 30 years since Band Aid and the Live Aid concert for famine relief.
Sir Bob said the Band Aid 30 record last Christmas to tackle Ebola had succeeded: "Last week only two cases were reported in Sierra Leone. It's been cracked."
Ure urged the songwriters in the room to come up with a new song so they can put Do They Know It's Christmas to rest.
Geldof gave his award to John Kennedy, a Band Aid Trustee and music industry lawyer without whom, he said Band Aid would have floundered.
Simon Darlow, chairman of songwriting body Basca, which hosts the Novellos, opened the event with a speech warning that technological changes are destroying a business based on the value of copyrights.
He accused guests who work for search engines which link to illegal music files of "undermining the value of music. You are helping to kill songwriting and composition."
Awards presenter Paul Gambaccini described Sheeran, the most streamed artist of 2014 as the "world's most successful busker" given the paucity of royalty rates paid out by streaming services.
The Ivor Novello awards for songwriters are considered prestigious since the winners are voted for by fellow songwriters.
Annie Lennox became the first woman to receive a Basca fellowship. She said: "This must be my 60th birthday present. The glass ceiling has been broken."
Register for free to continue reading
Registration is a free and easy way to support our truly independent journalism
By registering, you will also enjoy limited access to Premium articles, exclusive newsletters, commenting, and virtual events with our leading journalists
Already have an account? sign in
Join our new commenting forum
Join thought-provoking conversations, follow other Independent readers and see their replies