Question: On what date did the person leave office who died on October 23, 1887 and who served 2 years?
SQL: SELECT left_office FROM table_name_58 WHERE years_in_office = "2" AND death = "october 23, 1887"