user: ### NOW ANSWER:
Question: Name the first elected for Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'real', 'text', 'text']
Sample row: ['New York 6', 'Jonathan Fisk', 'Democratic-Republican', 1812.0, 'Re-elected', 'Jonathan Fisk (DR) 78.0% Jonas Storey (F) 22.0%']
SQL:

assistant: SELECT "First elected" FROM "Table" WHERE "Candidates" = 'Hosea Moffitt (F) 57.9% Josiah Masters (DR) 42.1%';