SCHEMA:
CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)
USER:
What is the first party for Lord John Hay earlier than 1857?

QUERY:
SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay"