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_39 (end_term INTEGER, start_term VARCHAR, name VARCHAR)
  ### Question:
  What is the smallest End term with a Start term of 1913, and a Name of ludwig iii?
  ### Answer:
  SELECT MIN(end_term) FROM table_name_39 WHERE start_term = 1913 AND name = "ludwig iii"