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_22 (took_office INTEGER, left_office VARCHAR)
  ### Question:
  What was the greatest Took Office dates that Left Office in 1998?
  ### Answer:
  SELECT MAX(took_office) FROM table_name_22 WHERE left_office = "1998"