text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_83 (resident_state VARCHAR, election_year VARCHAR)
  ### Question:
  What is the resident state for the president elected in 1864?
  ### Answer:
  SELECT resident_state FROM table_name_83 WHERE election_year = 1864