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_23 (years_in_office VARCHAR, assumed_office VARCHAR)
  ### Question:
  How many years in office were served by the person who assumed the office on October 4, 1886?
  ### Answer:
  SELECT years_in_office FROM table_name_23 WHERE assumed_office = "october 4, 1886"