Roger Taney, who was Chief Justice of the United States for nearly 30 years from 1836 to 1864, administered the Oath of Office to seven different Presidents: Martin Van Buren, William Henry Harrison, James Polk, Zachary Taylor, Franklin Pierce, James Buchanan and Abraham Lincoln.