Dara Ó Briain told viewers Mock The Week had been “an absolute joy and an honour”, as he brought an emotional close to the final regular episode of the long-running topical comedy panel show.
The comedian said the show had been “a blast” and joked it had left the UK in a “far more stable, prosperous and happy situation” than when the first episode aired.
The programme has been on air for 17 years and 21 series, a total of 232 episodes, and featured 131 comedians.
Show stalwarts Dara and Hugh Dennis were joined by panelists Angela Barnes, Alasdair Beckett-King, Rhys James, Zoe Lyons and Ahir Shah, who all donned formal wear for the taping.
The show began with discussion of the possible fate of the former Prime Minister Liz Truss, having been recorded before her resignation on Thursday.
“At the time of recording Hunt is still the Chancellor, and Liz Truss is still the Prime Minister,” O Briain said, before admitting that “literally anything” could have happened by the time the episode was broadcast.
“There is a sort of irony that we have been cancelled but we’re still likely to survive longer than Liz Truss,” Dennis replied.
James added that the show was “an allegory for the Tory party,” saying: “We’re all sat around in fancy clothes talking about the news as if we don’t know this is all over.”
As part of the special final show, Dara made a rare appearance on the stage to participate in the Wheel Of News segment and perform a short stand-up routine.
Dennis occupied the host chair as Dara was given the topics of “job loss,” “seeking new employment” and “retirement”.
Later, panelists exchanged gifts, with Dennis, who has starred in every episode of the show, receiving a commemorative plate reading “well done for doing Mock The Week”.
Closing the show, Dara said: “We’ve been on for the last 17 years, we’ve done 232 episodes featuring 131 comedians.
“We’ve seen out six prime ministers, four US presidents, seven England football managers and two Archbishops of Canterbury – that wasn’t a big deal.
“It has been an absolute blast to do, and we leave with the quiet pride that in the years that we have been on we have left the country in a far more stable, prosperous and happy situation than we started, and we’ll always have that.
He continued: “We’re not a very sentimental, mawkish show so I’ll just say on behalf of the production team, on behalf of myself and all of the comedians here, it’s been an absolute joy to talk to you and an honour.
“I’m Dara O Briain, goodnight.”
The episode closed with a compilation of photos from past episodes as well as a small post-credits skit.
“I’ve just had a terrible dream that I was hosting a topical panel show for 17 years, it went on and on and on, honey!” O Briain exclaims, apparently waking up in bed from a nightmare.
“Yes Dara”, replies Dennis, who is sleeping in the bed beside him.
Friday’s episode will be followed by two specials looking back over the history of Mock The Week, concluding the series officially on November 4.
Mock The Week first aired in June 2005 and over the years featured comedy stars including Chris Addison, Frankie Boyle, Rory Bremner and Russell Howard.
During the penultimate episode of Mock The Week, Dara's pal and comedian Ed Byrne took a sweary swipe at what he called the political agenda which has 'taken the BBC hostage'.
In an explosive rant, Ed blasted those at the top as 'a miserable bunch of Tory c***s, who can’t take a f***ing joke.'
Going out in a blaze of glory, Ed jumped at the chance to air his feelings as he and fellow comics were asked to take part in the 'Scenes We'd Like to See' round.
For the 'Things You Wouldn’t Hear On A News Programme', Ed raced centre stage as he fired: "A report just coming in: Apparently, Mock The Week has been cancelled because the BBC has been taken hostage by a bunch of miserable Tory c***s who can’t take a f***ing joke!"
The moment was praised by fans on Twitter who applauded Ed for 'going out swinging.'