user: Question: When was someone first elected in the district with incumbent John Smith?
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Virginia 1', 'John G. Jackson', 'Democratic-Republican', '1803', 'Re-elected', 'John G. Jackson (DR) 60.3% Noah Linsey (F) 29.7%']
SQL:

assistant: SELECT "First elected" FROM "Table" WHERE "Incumbent" = 'John Smith';