Barack Obama delivered his first State of the Union address in front of a Republican-controlled Congress last night - and made sure he got the upper hand with the ultimate presidential "burn".

Towards the end of the speech, the president delivered the line, "I have no more campaigns to run", eliciting at first silence in the chamber, before a smattering of sarcastic applause and jeering forced Obama to smirk slightly at the Republicans in the room.

With a straight face he ad-libbed, "I know because I won both of them", turning his head to the other side quickly, the ultimate put down executed to full effect.

The room erupted with cheers and laughs from the president's supporters, which lated for several minutes, with Obama winking back at the Republicans who had jeered him, evidently proud of his spontaneous "burn". Joe Biden, who didn't initially react to Obama's quip, soon smiled broadly as the room responded to the president's joke.

State of the Union address: President Obama's speech Show all 8 1 /8 State of the Union address: President Obama's speech State of the Union address: President Obama's speech State of the Union U.S. President Barack Obama shakes hands with Speaker of the House John Boehner (R) as Vice President Joe Biden looks on at the end of President Obama's State of the Union address to a joint session of the U.S. Congress on Capitol Hill in Washington State of the Union address: President Obama's speech State of the Union US President Barack Obama departs following his State of the Union address on Capitol Hill in Washington State of the Union address: President Obama's speech State of the Union Barack Obama delivers the State of the Union address to Congress Getty Images State of the Union address: President Obama's speech State of the Union U.S. President Barack Obama blows a kiss to his wife, first lady Michelle Obama who was sitting in the gallery, at the end of his State of the Union address to a joint session of the U.S. Congress on Capitol Hill in Washington State of the Union address: President Obama's speech State of the Union US First Lady Michelle Obama looks at guest Rebekah Erler as President Barack Obama mentions her and her family during the State of the Union address at the US Capitol in Washington State of the Union address: President Obama's speech State of the Union Alan Gross (C), recently freed after being held in Cuba since 2009, pumps his fist after being recognized by U.S. President Barack Obama during the State of the Union speech in the House chamber of the U.S. Capitol in Washington State of the Union address: President Obama's speech State of the Union U.S. lawmakers pay tribute to the victims of the Paris attacks by holding up pencils during U.S. President Barack Obama's State of the Union address to a joint session of Congress on Capitol Hill in Washington State of the Union address: President Obama's speech State of the Union U.S. President Barack Obama arrives to deliver his State of the Union address to a joint session of Congress on Capitol Hill in Washington

The camera cuts to a scene of the room and many prominent Democrats can be seen enjoying the moment: Elizabeth Warren is having a good grin while Eric Holder claps his approval. Several members of Congress stand up and cheer, notably John Lewis, who was one of the marchers at Selma in 1965. John Kerry is smiling while whispering to Jack Lew, and even Supreme Court Justice Elena Kagan, who was nominated by Obama, is seen giggling.

Obama won presidential elections in 2008 and 2012, beating John McCain and Mitt Romney respectively. You can forgive Obama for having a crack at the Republicans during one of his last State of the Union addresses: at his first one in 2009, Republican Joe Wilson famously shouted "liar" after Obama said illegal immigrants wouldn't be insured in his healthcare reform.

Of course, the internet enjoyed Obama's ad-lib mastery, with many mixing the joke with Obama dancing on the Ellen show; the comedian-in-chief revelling in his moment.