Historians have voted Barack Obama the 12th best President in US history.

C-Span surveyed nearly 100 presidential historians who ranked the former leader highly in several categories.

They said Mr Obama performed well on areas including economic management, and also in "pursuing justice for all", in which he ranked third among all presidents.

But he placed only 39th for his relationship with Congress and 24th for international relations.

Joe Biden and Barack Obama through the years Show all 15 1 /15 Joe Biden and Barack Obama through the years Joe Biden and Barack Obama through the years Joe Biden and Dr Jill Biden watch Barack Obama's farewell speech on 11 January. Obama called Biden his 'brother' Joe Biden and Barack Obama through the years US President Barack Obama speaks alongside US Vice President Joe Biden about the Affordable Care Act AFP/Getty Images Joe Biden and Barack Obama through the years Vice President Joe Biden and President Barack Obama Getty Joe Biden and Barack Obama through the years President Obama listens to Joe Biden speak of his work on defeating cancer on 18 October in the White House Reuters Joe Biden and Barack Obama through the years U.S. President Barack Obama is applauded by House Speaker Paul Ryan and Vice President Joe Biden while delivering his final State of the Union address to a joint session of Congress in Washington Reuters Joe Biden and Barack Obama through the years U.S. Vice President Joe Biden interjects as President Barack Obama delivers remarks at a reception for the 25th anniversary of the White House Initiative on Educational Excellence for Hispanics at the White House in Washington REUTERS Joe Biden and Barack Obama through the years Obama and Vice President Joe Biden react after a heckler was removed for their extended interruption (Reuters) Joe Biden and Barack Obama through the years U.S. President Barack Obama shakes hands with Speaker of the House John Boehner (R) as Vice President Joe Biden looks on Joe Biden and Barack Obama through the years Barack and Michelle Obama and Vice-President Joe Biden observing a moment of silence outside the White House to mark the 13th anniversary of the 9/11 attacks Getty Images Joe Biden and Barack Obama through the years Barack Obama and Joe Biden putt on the White House putting green Getty Joe Biden and Barack Obama through the years President Barack Obama and Joe Biden in April 2013 AFP/Getty Images Joe Biden and Barack Obama through the years January 1, 2013: U.S. President Barack Obama winks as he arrives with Vice President Joe Biden (L) in the briefing room Reuters Joe Biden and Barack Obama through the years President Barack Obama, Vice President Joe Biden and others receive an update on the mission against Osama bin Laden in the Situation Room of the White House May 1, 2011 in Washington, DC Getty Images Joe Biden and Barack Obama through the years Vice-President Joe Biden, right, confirmed that the US was looking at ways of taking legal action against Julian Assange - back in December 2010 GETTY IMAGES Joe Biden and Barack Obama through the years Joe Biden, left, and retired military officers watch President Barack Obama sign orders to close down the detention centre at Guantanamo Bay, Cuba, in January 2009 GETTY IMAGES

His predecessor George W Bush ranked 33rd overall, up three places since 2009, while Bill Clinton came in at 15th. Abraham Lincoln took the top spot, followed by George Washington and Franklin Roosevelt. Teddy Roosevelt and Dwight Eisenhower rounded out the top five in the third survey of its kind.

Mr Obama ranked 12th in the "setting an agenda category", 15th for crisis leadership and seventh for moral authority.

Historian Richard Norton Smith, one of the academic advisers for the survey, said: "The golden age of the American presidency, according to this survey, is 1933 to 1969.

"Five presidents from this era each rank in the top 10 which tells you something about the criteria that historians tend to use.

"It reinforces Franklin Roosevelt's claim to be not only the first modern president but the man who, in reinventing the office, also established the criteria by which we judge our leaders."

Dr Edna Green Medford, of Howard University, said: "Although 12th is a respectable overall ranking, one would have thought that former President Obama’s favourable rating when he left office would have translated into a higher ranking in this presidential survey.

"But, of course, historians prefer to view the past from a distance, and only time will reveal his legacy."