General Zachary Taylor, part of the Whig party and led US forces in the Mexican American War, won the election of 1848. Every state held the election on the same day except for South Carolina.
Alaska, the 49th state, and Hawaii, the 50th state were admitted in 1959. This was during the presidency of Dwight D. Eisenhower who served from 1953 to 1961.