user: ### NOW ANSWER:
Question: What is the first party for Lord John Hay earlier than 1857?
Columns: ['Year', 'First member', 'First party', 'Second member', 'Second party']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1790.0, 'Peniston Portlock Powney', 'Tory', 'The Earl of Mornington', 'Non Partisan']
SQL:

assistant: SELECT "First party" FROM "Table" WHERE "Year" < 1857.0 AND "First member" = 'Lord John Hay';