Comedy stars old and new were honoured with accolades at the 2011 British Comedy Awards.
The ceremony saw gongs given to veteran comic Victoria Wood, who picked up the best female television comic award, as well as the young cast of The Inbetweeners, who were given an outstanding achievement award.
Stewart Lee was one of the main winners of the night, picking up trophies for best male television comic and best comedy entertainment programme during the ceremony at London's Fountain Studios, hosted by Jonathan Ross and screened live on Channel 4.
Miranda Hart, star of the BBC sitcom that bears her first name, had been nominated for four awards and walked away with one - picking up the best comedy actress title for the second year in a row.
She said she was "shell-shocked" to win and had not prepared anything to say in her acceptance speech. Hart said instead of partying the night away, she wanted to "get home as quickly as possible, put the kettle on and get in my onesie".
The viewers' award for queen or king of comedy went to Sarah Millican, who was not at the ceremony but said in a live link-up that she was "thrilled" to receive it.
The best comedy panel show award went to the recently axed Shooting Stars. Dame Helen Mirren presented Have I Got News For You with a lifetime achievement award.
Kylie Minogue presented the cast of The Inbetweeners with the British Comedy Academy outstanding achievement award for their success, which included releasing a film this year.
Darren Boyd, from Smack The Pony, Green Wing and, most recently, for playing John Cleese in Holy Flying Circus, won the best comedy actor award.
Steve Coogan said he was "humbled and honoured" to present the Writers' Guild of Britain Award to The Thick Of It creator Armando Iannucci. He said the Scot, who also devised his Alan Partridge character, had displayed "laser-guided humour" in his career, which began in the 90s.
Check out some of the stars on the blue carpet gallery - and a full list of winners - below:
FULL LIST OF WINNERS:
Best New Comedy: Fresh Meat (Channel 4)
Best Comedy Entertainment Programme: Stewart Lee's Comedy Vehicle (BBC)
Best Sketch Show: Horrible Histories (CBBC)
Best Comedy Panel Show: Shooting Stars (BBC)
Best Sitcom: Twenty Twelve (BBC)
Best Comedy Drama: Psychoville (BBC)
Best Comedy Entertainment Personality: Graham Norton
Best Actor: Darren Boyd (Spy)
Best Actress: Miranda Hart (Miranda)
Comedy Breakthrough Artist: Dan Skinner
Best Male TV Comic: Stewart Lee
Female TV Comic: Victoria Wood
The Writer's Guild of Great Britain Award: Armando Iannucci
The British Comedy Academy Outstanding Achievement Award: The Inbetweeners
The British Comedy Academy Lifetime Achievement Award: Have I Got News For You
The Channel 4 Award for Special Contribution to Comedy: Lee Evans