user: ### NOW ANSWER:
Question: what is the district when the party is Federalist and first elected is 1814?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['New York 3', 'Jonathan Ward', 'Democratic-Republican', '1814', 'Retired Democratic-Republican hold', 'Caleb Tompkins (DR) 56.8% Abraham Odell (F) 42.8%']
SQL:

assistant: SELECT "District" FROM "Table" WHERE "Party" = 'Federalist' AND "First elected" = '1814';