Andrew Johnson (December 29, 1808 –  July 31, 1875) was the 17th president of the United States, serving from 1865 to 1869. He assumed the presidency as he was vice president at the time of the assassination of Abraham Lincoln. He did not win the 1868 Democratic presidential nomination and left office the following year. He did not win the 1868 Democratic presidential nomination and left office the following year. The victors in the 1857 state legislative campaign would, once they convened in October, elect a United States Senator.