Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the first party for Lord John Hay earlier than 1857?

### Inputs:
table_name: table, columns: ['Year', 'First member', 'First party', 'Second member', 'Second party']

### Response:
SELECT First party FROM table WHERE Year < 1857 AND First member = lord john hay