James Buchanan Jr. (April 23, 1791 - June 1, 1868) was the 15th President of the United States. He was the only President not to have married. His niece, Harriet Lane, stood in as First Lady. He was an experienced politician and he became president in 1857. Many historians think that Buchanan was the worst president, because he did nothing to prevent the Civil War.