Who was the president when the last 2 states joined the union?

Dwight D. Eisenhower

(During the Civil War) Abraham Lincoln