Andrew Johnson was vice president of the United States when Lincoln was assassinated. He was also the 17 President of United States, after the assassination of Abraham Lincoln, serving from 1865 to 1869.