Question: What is the resident state for the president elected in 1864?
SQL: SELECT Resident State FROM table WHERE Election Year = 1864