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_224840_4 (successor VARCHAR, district VARCHAR)
  ### Question:
  Who was the latest to take office in Massachusetts 3rd district?
  ### Answer:
  SELECT successor FROM table_224840_4 WHERE district = "Massachusetts 3rd"