England's World Cup song aired for the first time, as more than £51 million was raised for the BBC's Sport Relief.
Gary Barlow and former England captain Lineker led a 20-strong group including pop stars Katy B, former Spice Girl Emma Bunton, Pixie Lott and Conor Maynard, as they covered Take That's Greatest Day.
Footballers Peter Shilton, Michael Owen, Glenn Hoddle, Dion Dublin and Sir Geoff Hurst also took part.
Here is what happened behind the scenes.
Former England striker and Match of the Day host Gary Linekar said Barlow had been "instrumental" in the process - and joked that he had offered the former X Factor judge some vocal tips in an interview with ITV News earlier this month.
A host of stars featured in sketches to get the nation active and persuade them to donate to good causes that help thousands of people in the UK and across the world.
Highlights included David Beckham starring in the first new episode of Only Fools And Horses for over 11 years. A bespectacled Beckham was in Peckham during the one-off special with Sir David Jason and Nicholas Lyndhurst. The retired England star poked fun at himself during a sketch in a greasy spoon cafe.
They paid a special tribute to the late Roger Lloyd Pack, who played Trigger in the comedy.
Victoria Beckham posted a picture of the former footballer holding a mug with the famous Trotter duo during the sketch.
The wheeler-dealer Trotter brothers, who revived their roles for the first time since a Christmas special in 2003, were seen trying to sell pairs of David Beckham's boxer briefs, as modelled by Rodney.