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_2 (reign_ended VARCHAR, length VARCHAR, country VARCHAR)
  ### Question:
  Whose reign ended in Afghanistan after 3 days?
  ### Answer:
  SELECT reign_ended FROM table_name_2 WHERE length = "3 days" AND country = "afghanistan"