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_58 (left_office VARCHAR, years_in_office VARCHAR, death VARCHAR)
  ### Question:
  On what date did the person leave office who died on October 23, 1887 and who served 2 years?
  ### Answer:
  SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887"