CREATE TABLE table_name_58 (left_office VARCHAR(255), years_in_office VARCHAR(255), death VARCHAR(255))
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"