There was a shock performance at the Emmys on Sunday night when former White House press secretary Sean Spicer appeared on the podium and joked about the size of the audience attending the event. 

Poking fun at his former role under Donald Trump and how he had to defend the size of the crowd at Trump's inauguration compared to the size of the crowd at Barack Obama's inauguration, Spicer said "this will be the largest audience to witness an Emmys. Period. Both in person and around the world."

Asked how he become involved in the ceremony, he said: "I had a conversation with Stephen (Colbert) and his executive producer, they came up with a concept, and I thought it was kinda funny. I said I’d be there." 

Speaking to The Hollywood Reporter Spicer added: "I have a lot of respect for folks who do what they do in film and on television, so it’s a real honour to be invited."

We need your consent to load this Instagram contentWe use Instagram to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

However, many people did not see the funny side of his appearance.

Spicer himself made sure he let his followers on social media know of his antics and even posted a selfie with his wife with the hashtag #datenight .

.

We need your consent to load this Instagram contentWe use Instagram to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

Elsewhere, James Corden has faced his share of criticism for kissing Spicer on the face at the awards.

We need your consent to load this Instagram contentWe use Instagram to manage extra content that can set cookies on your device and collect data about your activity. Please review their details and accept them to load the content.Manage Preferences

People were as angered by the gesture, comparing it to US TV star Jimmy Fallon ruffling Donald Trump's hair last September.