In 1862, Lincoln appointed him as military governor of Tennessee after most of it had been retaken. In 1864, Johnson was a logical choice as running mate for Lincoln, who wished to send a message of national unity in his re-election campaign; their ticket easily won. Johnson was sworn in as vice president in March 1865 and gave a rambling speech, after which he secluded himself to avoid public ridicule. Six weeks later, the assassination of Lincoln made him president.