Barack Obama made a surprise appearance at White House press secretary Josh Earnest's last briefing with members of the press to lavish praise on his spokesman.

"He is a really, really good man," said the outgoing president of Mr Earnest, who first joined Mr Obama's campaign in Iowa back in 2007.