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_24329520_4 (times_contested INTEGER, county VARCHAR)
  ### Question:
  Name the most times contested for montgomeryshire
  ### Answer:
  SELECT MAX(times_contested) FROM table_24329520_4 WHERE county = "Montgomeryshire"