Barack Obama apparently ranks pretty well as far as U.S. presidents go.

The former commander in chief came in 12th on C-SPAN's 2017 Presidential Historians Survey. Obama scored particularly well in pursuing "equal justice for all."

SEE MORE: Former President Obama Is Living His Best Life Without Us

C-SPAN has conducted the survey twice before — in 2000 and in 2009. The results are based on feedback from nationally recognized historians and a list of presidential leadership qualities.

Those qualities include things like public persuasion, economic management and international relations. Each president is rated on a scale of 1 to 10, with 10 being the best.

This year, 91 historians took part in the poll.

The findings might not come as a surprise. When Obama left the White House, the U.S. was — for the most part — in better shape than when he got in.

15 PHOTOS Presidential Historians Survey 2017: Presidential ranking See Gallery Presidential Historians Survey 2017: Presidential ranking 15. President Bill Clinton 2009 rank: 15

2000 rank: 21 (Photo by Harry Hamburg/NY Daily News Archive via Getty Images) 14. President James K. Polk 2009 rank: 12

2000 rank: 12 (Photo by: Universal History Archive/UIG via Getty images) 13. President James Monroe 2009 rank: 14

2000 rank: 14 (Photo by DeAgostini/Getty Images) 12. President Barack Obama 2009 rank: N/A

2000 rank: N/A (Photo credit ARIS MESSINIS/AFP/Getty Images) 11. President Woodrow Wilson 2009 rank: 9

2000 rank: 6 (Photo via Getty Images) 10. President Lyndon B. Johnson 2009 rank: 11

2000 rank: 10 (Photo by Berlin-Bild/ullstein bild via Getty Images) 9. President Ronald Reagan 2009 rank: 10

2000 rank: 11 (Photo by Bill Nation/Sygma via Getty Images) 8. President John F. Kennedy 2009 rank: 6

2000 rank: 8 (Photo via Getty Images) 7. President Thomas Jefferson 2009 rank: 7

2000 rank: 7 (Photo via Getty Images) 6. President Harry S. Truman 2009 rank: 5

2000 rank: 5 (Photo by Stock Montage/Stock Montage/Getty Images) 5. President Dwight D. Eisenhower 2009 rank: 8

2000 rank: 9 (Photo by Corbis via Getty Images) 4. President Theodore Roosevelt 2009 rank: 3

2000 rank: 2 (Photo via Getty Images) 3. President Franklin D. Roosevelt 2009 rank: 3

2000 rank: 2 (Photo by Library of Congress/Corbis/VCG via Getty Images) 2. President George Washington 2009 rank: 2

2000 rank: 3 (Photo by Stock Montage/Stock Montage/Getty Images) 1. President Abraham Lincoln 2009 rank: 1

2000 rank: 1 (Photo by Ann Ronan Pictures/Print Collector/Getty Images) Up Next See Gallery Discover More Like This HIDE CAPTION SHOW CAPTION of SEE ALL BACK TO SLIDE

The U.S. GDP and median household income both increased during Obama's tenure. At the same time, unemployment rates, violent crime rates, CO2 emissions, the number of uninsured people and the federal deficit all went down.

Obama also left office with a majority approval rating.

SEE MORE: Trump Won't Carry On This Obama Tradition

The former president's lowest score was "relations with Congress." During his term, the executive and legislative branches often had weeks-long battles over partisan issues.

Ahead of Obama is — among others — President Abraham Lincoln, who took the prize for best overall U.S. presidential leader. He was followed closely by George Washington.

Former presidents James Buchanan and Andrew Johnson hold the two worst overall scores.

More from :

In Presidential Rankings, Barack Obama Is Near The Top

Trump Won't Carry On This Obama Tradition

Top Obama Financial Regulator To Step Down; Trump To Pick Replacement