Christmas number one 2013: X Factor winner Sam Bailey beats Pharrell Williams with 'Skyscraper'
Robbie Williams keeps One Direction off the top spot in the albums chart
The 36-year-old former prison officer sold 149,000 copies of the Demi Lovato cover, more than double that of US rapper Pharrell Williams, who secured the second spot with his track "Happy".
Bailey, who was crowned X Factor winner last week, is splitting all proceeds between Great Ormond Street Hospital Children's Charity and Together For Short Lives, a charity which helps children with life-threatening conditions.
Chancellor George Osborne has agreed to waive VAT on the release.
Bailey told OfficialCharts.com: "Being Number 1 is absolutely amazing.
"It really is the icing on the cake and it means Great Ormond Street Children's Charity and Together For Short Lives will benefit from the single, which makes it extra special."
Despite the annual anti-X Factor campaign, this year led by AC/DC’s 1979 single, "Highway to Hell", Bailey’s track has become one of the fastest-selling singles of the year.
"One More Sleep" by the 2006 X Factor winner Leona Lewis came in third spot and "Highway to Hell" took fourth place, giving AC/DC their first ever top ten hit.
Robbie Williams held on to top spot in the album chart with Swings Both Ways.
The Take That star's record was neck-and-neck midweek with One Direction's Midnight Memories and Gary Barlow's Since I Saw You Last in a tight race.
But Williams beat off One Direction by less than 200 copies after both acts sold more than 126,000.
GlastonburyWI to make debut appearance at Somerset festival
TV reviewIt has taken seven episodes for Game of Thrones season five to hit its stride
FilmPalme d'Or goes to radical and astonishing film that turns conventional thinking about immigrants on its head
Potter's attempt to create an Essex Taj Mahal was a lovely treattv
Arts & Ents blogs
- 1 Saudi Arabia mosque bombing: Two volunteer security guards hailed as heroes for stopping Isis suicide bomber reaching worshippers
- 2 There is something wrong but very right about this Bible illustration
- 3 Remove smartphones from the hands of under-18s and maybe they will grow up to be less dumb
- 4 Tampon tax scrapped in Canada after petition convinces conservative government
- 5 Kate Moss on the naked Calvin Klein shoot and the obsession that ended her relationship
Jay Z's Tidal could be about to lose Beyonce's music in ultimate humiliation
Britain's Got Talent 2015: Jamie Raven divides Twitter as fans expose mind-boggling magic trick
Thrill of the chaste: The truth about Gandhi's sex life
Bob Dylan: How the Isle of Wight festival managed to steal the voice of a generation from Woodstock
Big Brother 2015 new housemates: Simon Gross returns as stripper Marc O'Neill, model Harry Amelia Martin and X Factor reject Sam Kay join
EU referendum: David Cameron's rules are a 'democratic disgrace', says French-born Scottish politician set to be denied a vote
British tourists complain that impoverished boat migrants are making holidays 'awkward' in Kos
Migrants in Kos: Photos show real tragedy after Brits abroad complain of 'awkward' holidays
A nation of inequality: How the UK is failing to feed its most vulnerable people
Australian man punched in the face for defending Muslim women from abuse on train
David Starkey 'tells Amal Clooney to shut up and stop over-promoting human rights'