Table schema:
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%?
SQL: SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%"