user: Question: First elected in 1807 1817 in what district?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['North Carolina 1', 'Lemuel Sawyer', 'Democratic-Republican', '1807 1817', 'Re-elected', 'Lemuel Sawyer (DR) Voight']
SQL:

assistant: SELECT "District" FROM "Table" WHERE "First elected" = '1807 1817';