The White House has released official photos of President Obama's trip to the UK, where he lent his support to the Remain campaign ahead of the EU referendum.

His flying visit to the UK saw him lunch with the Queen, play golf with the Prime Minister, and watch actors perform Hamlet in the Globe theatre.

Pete Souza, the official White House photographer, was on hand to capture the unguarded moments behind the scenes.

The Queen and Prince Philip greet the President and First Lady upon their arrival for lunch at Windsor Castle. Credit: Pete Souza/The White House
The President and First Lady Michelle Obama pose for a photo with the Queen and Prince Philip at Windsor Castle. Credit: Lawrence Jackson/The White House
The President and First Lady visit with the Duke and Duchess of Cambridge and Prince Harry. Credit: Pete Souza/The White House
Prince George on the rocking chair that the Obamas sent him for his birthday. Credit: Pete Souza/The White House
Prince William introduces the Obamas to Prince George. Credit: Pete Souza/The White House
The Prime Minister welcomes President Obama to 10 Downing Street. Credit: Pete Souza/The White House
President Obama meets Jeremy Corbyn. Credit: Pete Souza/The White House
The President talks with Globe to Globe actors. Credit: Pete Souza/The White House
President Obama and Press Secretary Josh Earnest watch a scene from Hamlet. Credit: Lawrence Jackson/The White House
President Barack Obama answers a question during his talk at Lindley Hall. Credit: Pete Souza/The White House
The President joins David Cameron for a spot of golf at The Grove, Watford. Credit: Pete Souza/The White House
The President boards Air Force One at Stansted Airport. Credit: Pete Souza/The White House