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_2668347_14 (first_elected VARCHAR, candidates VARCHAR)
  ### Question:
  when was the first elected when the  candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%?
  ### Answer:
  SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%"