The Democratic-Republican
Even though the president's job wasn't as important back then, James Madison had a difficult time in office. He sat through the War of 1812, and he rejected nationally-funded roadways due to the fallout of said war. His alleged IQ was 155.