CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR)

First elected in 1807 1817 in what district?
SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817"
SELECT "district" FROM "table_2668336_17" WHERE "1807 1817" = "first_elected"