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"