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_87 (elected INTEGER, district VARCHAR)
### Question:
What was the year elected in District 17?
### Answer:
SELECT MIN(elected) FROM table_name_87 WHERE district = 17